<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Name="Configuration Tree" Expanded="True" Version="1462" Guid="{41D95312-ABA6-4BD5-8D48-3606FC5CD61E}" Time="1278300516.27">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin File="Task" Identifier="Task">
            gAIpLg==
        </Plugin>
        <Plugin File="MceRemote" Identifier="MceRemote">
            gAJHP8MzMzMzMzOIhnEALg==
        </Plugin>
        <Action>
            EventGhost.EnableItem(XmlIdLink(10))
        </Action>
        <Action>
            System.Execute(u'C:\\Program Files (x86)\\XBMC\\XBMC.exe', u'', 2, False, 3, u'C:\\Program Files (x86)\\XBMC\\')
        </Action>
        <Action>
            EventGhost.Wait(5.0)
        </Action>
        <Plugin File="XBMC" Identifier="XBMC">
            gAIpLg==
        </Plugin>
        <Plugin File="MCE" Identifier="MCE">
            gAIpLg==
        </Plugin>
    </Autostart>
    <Folder Name="Keyboard Emulation" id="10">
        <Macro Name="Up">
            <Event Name="Up" />
            <Action>
                Window.SendKeys(u'{Up}')
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Down">
            <Event Name="Down" />
            <Action>
                Window.SendKeys(u'{Down}')
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Right">
            <Event Name="Right" />
            <Action>
                Window.SendKeys(u'{Right}')
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Left">
            <Event Name="Left" />
            <Action>
                Window.SendKeys(u'{Left}')
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Ok -&gt; Enter Key" Expanded="True">
            <Event Name="Ok" />
            <Action>
                Window.SendKeys(u'{Enter}')
            </Action>
        </Macro>
        <Macro Name="Delete -&gt; Escape Key" Expanded="True">
            <Event Name="Delete" />
            <Action>
                Window.SendKeys(u'{Esc}')
            </Action>
        </Macro>
        <Macro Name="Power" Expanded="True">
            <Event Name="Power" />
            <Action Enabled="False">
                Window.SendKeys(u'{Alt+F4}')
            </Action>
            <Action>
                System.Standby(False)
            </Action>
        </Macro>
        <Macro Name="Forward -&gt; Tabulator" Enabled="False" Expanded="True">
            <Event Name="Forward" />
            <Action>
                Window.SendKeys(u'{Tab}')
            </Action>
        </Macro>
        <Macro Name="Rewind -&gt; Shift+Tabulator" Enabled="False" Expanded="True">
            <Event Name="Rewind" />
            <Action>
                Window.SendKeys(u'{Shift+Tab}')
            </Action>
        </Macro>
        <Macro Name="ChannelUp -&gt; Plus" Enabled="False" Expanded="True">
            <Event Name="ChannelUp" />
            <Action>
                Window.SendKeys(u'+')
            </Action>
        </Macro>
        <Macro Name="ChannelDown -&gt; Minus" Enabled="False" Expanded="True">
            <Event Name="ChannelDown" />
            <Action>
                Window.SendKeys(u'-')
            </Action>
        </Macro>
        <Macro Name="Rename -&gt; Start Menu" Expanded="True">
            <Event Name="Rename" />
            <Action>
                Window.SendKeys(u'{Win}')
            </Action>
        </Macro>
        <Macro Name="Play -&gt; Space" Enabled="False" Expanded="True">
            <Event Name="Play" />
            <Action>
                Window.SendKeys(u'{Space}')
            </Action>
        </Macro>
    </Folder>
    <Folder Name="XBMC" id="54" Expanded="True">
        <Macro Name="Up" Expanded="True">
            <Action>
                XBMC.Up()
            </Action>
        </Macro>
        <Macro Name="Down" Expanded="True">
            <Action>
                XBMC.Down()
            </Action>
        </Macro>
        <Macro Name="Left" Expanded="True">
            <Action>
                XBMC.Left()
            </Action>
        </Macro>
        <Macro Name="Right" Expanded="True">
            <Action>
                XBMC.Right()
            </Action>
        </Macro>
        <Macro Name="Page Up" Expanded="True">
            <Event Name="MceRemote.ChannelUp" />
            <Action>
                XBMC.PageUp()
            </Action>
        </Macro>
        <Macro Name="Page Down" Expanded="True">
            <Event Name="MceRemote.ChannelDown" />
            <Action>
                EventGhost.PythonCommand('XBMC.Page Down()')
            </Action>
        </Macro>
        <Macro Name="Select" Expanded="True">
            <Event Name="MceRemote.Ok" />
            <Action>
                XBMC.Select()
            </Action>
        </Macro>
        <Macro Name="Back" Expanded="True">
            <Event Name="MceRemote.Back" />
            <Action>
                EventGhost.PythonCommand('XBMC.Back()')
            </Action>
        </Macro>
        <Macro Name="Play" Expanded="True">
            <Event Name="MceRemote.Play" />
            <Action>
                XBMC.Play()
            </Action>
        </Macro>
        <Macro Name="Pause" Expanded="True">
            <Event Name="MceRemote.Pause" />
            <Action>
                XBMC.Pause()
            </Action>
        </Macro>
        <Macro Name="Stop" Expanded="True">
            <Event Name="MceRemote.Stop" />
            <Action>
                XBMC.Stop()
            </Action>
        </Macro>
        <Macro Name="Fast Forward" Expanded="True">
            <Event Name="MceRemote.Forward" />
            <Action>
                XBMC.FastForward()
            </Action>
        </Macro>
        <Macro Name="Rewind" Expanded="True">
            <Event Name="MceRemote.Rewind" />
            <Action>
                XBMC.Rewind()
            </Action>
        </Macro>
        <Macro Name="Skip Next" Expanded="True">
            <Event Name="MceRemote.Skip" />
            <Action>
                XBMC.SkipNext()
            </Action>
        </Macro>
        <Macro Name="Skip Previous" Expanded="True">
            <Event Name="MceRemote.Replay" />
            <Action>
                XBMC.SkipPrevious()
            </Action>
        </Macro>
        <Macro Name="Record" Expanded="True">
            <Action>
                XBMC.Record()
            </Action>
        </Macro>
        <Macro Name="Volume Up" Expanded="True">
            <Event Name="MceRemote.VolumeUp" />
            <Action>
                XBMC.VolumeUp()
            </Action>
        </Macro>
        <Macro Name="Volume Down" Expanded="True">
            <Event Name="MceRemote.VolumeDown" />
            <Action>
                XBMC.VolumeDown()
            </Action>
        </Macro>
        <Macro Name="Mute" Expanded="True">
            <Event Name="MceRemote.Mute" />
            <Action>
                XBMC.Mute()
            </Action>
        </Macro>
        <Macro Name="Zero" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Zero()')
            </Action>
        </Macro>
        <Macro Name="One" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.One()')
            </Action>
        </Macro>
        <Macro Name="Two" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Two()')
            </Action>
        </Macro>
        <Macro Name="Three" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Three()')
            </Action>
        </Macro>
        <Macro Name="Four" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Four()')
            </Action>
        </Macro>
        <Macro Name="Five" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Five()')
            </Action>
        </Macro>
        <Macro Name="Six" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Six()')
            </Action>
        </Macro>
        <Macro Name="Seven" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Seven()')
            </Action>
        </Macro>
        <Macro Name="Eight" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Eight()')
            </Action>
        </Macro>
        <Macro Name="Nine" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Nine()')
            </Action>
        </Macro>
        <Macro Name="Star" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Star()')
            </Action>
        </Macro>
        <Macro Name="Hash" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Hash()')
            </Action>
        </Macro>
        <Macro Name="Menu" Expanded="True">
            <Event Name="MceRemote.DVDMenu" />
            <Action>
                EventGhost.PythonCommand('XBMC.Menu()')
            </Action>
        </Macro>
        <Macro Name="Display" Expanded="True">
            <Event Name="MceRemote.Guide" />
            <Action>
                EventGhost.PythonCommand('XBMC.Display()')
            </Action>
        </Macro>
        <Macro Name="Start" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Start()')
            </Action>
        </Macro>
        <Macro Name="Title" Expanded="True">
            <Event Name="MceRemote.Details" />
            <Action>
                EventGhost.PythonCommand('XBMC.Title()')
            </Action>
        </Macro>
        <Macro Name="Info" Expanded="True">
            <Event Name="MceRemote.Details" />
            <Action>
                XBMC.Info()
            </Action>
        </Macro>
        <Macro Name="Clear" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Clear()')
            </Action>
        </Macro>
        <Macro Name="Power" Expanded="True">
            <Action>
                EventGhost.PythonCommand('XBMC.Power()')
            </Action>
        </Macro>
        <Macro Name="Big Skip Backward" Expanded="True">
            <Action>
                XBMC.BigSkipBackward()
            </Action>
        </Macro>
        <Macro Name="Big Skip Forward" Expanded="True">
            <Action>
                XBMC.BigSkipForward()
            </Action>
        </Macro>
        <Macro Name="Small Skip Backward" Expanded="True">
            <Action>
                XBMC.SmallSkipBackward()
            </Action>
        </Macro>
        <Macro Name="Small Skip Forward" Expanded="True">
            <Action>
                XBMC.SmallSkipForward()
            </Action>
        </Macro>
        <Macro Name="Party Mode" Expanded="True">
            <Action>
                XBMC.PartyMode()
            </Action>
        </Macro>
        <Macro Name="Random" Expanded="True">
            <Action>
                XBMC.Random()
            </Action>
        </Macro>
        <Macro Name="Repeat" Expanded="True">
            <Action>
                XBMC.Repeat()
            </Action>
        </Macro>
        <Macro Name="Take Screen Shot" Expanded="True">
            <Action>
                XBMC.TakeScreenShot()
            </Action>
        </Macro>
        <Macro Name="Last FM Love" Expanded="True">
            <Action>
                XBMC.LastFMLove()
            </Action>
        </Macro>
        <Macro Name="Last FM Ban" Expanded="True">
            <Action>
                XBMC.LastFMBan()
            </Action>
        </Macro>
        <Macro Name="Eject Tray" Expanded="True">
            <Action>
                XBMC.EjectTray()
            </Action>
        </Macro>
        <Macro Name="Play DVD" Expanded="True">
            <Action>
                XBMC.PlayDVD()
            </Action>
        </Macro>
        <Macro Name="Update Video Library" Expanded="True">
            <Event Name="MceRemote.Record" />
            <Action>
                XBMC.UpdateVideoLibrary()
            </Action>
        </Macro>
        <Macro Name="Update Music Library" Expanded="True">
            <Action>
                XBMC.UpdateMusicLibrary()
            </Action>
        </Macro>
        <Macro Name="Show Home Screen" Expanded="True">
            <Event Name="MceRemote.Start" />
            <Action>
                XBMC.Home()
            </Action>
        </Macro>
        <Macro Name="Show Videos Screen" Expanded="True">
            <Event Name="MceRemote.Videos" />
            <Action>
                XBMC.MyVideos()
            </Action>
        </Macro>
        <Macro Name="Show Music Screen" Expanded="True">
            <Event Name="MceRemote.Music" />
            <Action>
                XBMC.MyMusic()
            </Action>
        </Macro>
        <Macro Name="Show Pictures Screen" Expanded="True">
            <Event Name="MceRemote.Pictures" />
            <Action>
                XBMC.MyPictures()
            </Action>
        </Macro>
        <Macro Name="Show Weather Screen" Expanded="True">
            <Action>
                XBMC.Weather()
            </Action>
        </Macro>
        <Macro Name="Show Settings Screen" Expanded="True">
            <Action>
                XBMC.Settings()
            </Action>
        </Macro>
        <Macro Name="Show Favorites Screen" Expanded="True">
            <Action>
                XBMC.Favorites()
            </Action>
        </Macro>
        <Macro Name="Show System Info Screen" Expanded="True">
            <Action>
                XBMC.SystemInfo()
            </Action>
        </Macro>
        <Macro Name="Show Shutdown Menu" Expanded="True">
            <Action>
                XBMC.ShutdownMenu()
            </Action>
        </Macro>
        <Macro Name="Reset Computer" Expanded="True">
            <Action>
                XBMC.Reset()
            </Action>
        </Macro>
        <Macro Name="Stand By" Expanded="True">
            <Event Name="MceRemote.Power" />
            <Action>
                System.Standby(False)
            </Action>
        </Macro>
        <Macro Name="Start WMC" Expanded="True">
            <Event Name="MceRemote.7BD8" />
            <Action>
                EventGhost.ShowOSD(u'Start WMC... ', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
            </Action>
            <Action>
                System.Execute(u'C:\\Windows\\ehome\\ehshell.exe', u'', 2, False, 3, u'C:\\Windows\\ehome')
            </Action>
            <Action>
                EventGhost.Wait(2.5)
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(208))
            </Action>
            <Action>
                Window.FindWindow(u'XBMC.exe', u'XBMC', u'XBMC', None, None, None, False, 0.0, 0)
            </Action>
            <Action>
                Window.Close()
            </Action>
        </Macro>
    </Folder>
    <Folder Name="MCE" id="208" Expanded="True">
        <Macro Name="MCE: Up" Expanded="True">
            <Action>
                MCE.UpKey()
            </Action>
        </Macro>
        <Macro Name="Start XBMC" Expanded="True">
            <Event Name="MceRemote.7BB4" />
            <Action>
                EventGhost.ShowOSD(u'Start XBMC... ', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
            </Action>
            <Action>
                System.Execute(u'C:\\Program Files (x86)\\XBMC\\XBMC.exe', u'-fs', 2, False, 3, u'C:\\Program Files (x86)\\XBMC\\')
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(54))
            </Action>
            <Action>
                Window.FindWindow(u'ehshell.exe', None, None, None, None, None, False, 0.0, 0)
            </Action>
            <Action>
                Window.Close()
            </Action>
            <Action>
                Window.FindWindow(u'XBMC.exe', u'XBMC', u'XBMC', None, None, None, False, 2.0, 0)
            </Action>
            <Action>
                Window.BringToFront()
            </Action>
        </Macro>
        <Macro Name="MCE: Music" Expanded="True">
            <Event Name="MceRemote.Music" />
            <Action>
                MCE.Music()
            </Action>
        </Macro>
        <Macro Name="MCE: Pictures" Expanded="True">
            <Event Name="MceRemote.Pictures" />
            <Action>
                MCE.Pictures()
            </Action>
        </Macro>
        <Macro Name="MCE: Videos" Expanded="True">
            <Event Name="MceRemote.Videos" />
            <Action>
                MCE.Videos()
            </Action>
        </Macro>
        <Macro Name="MCE: Radio" Expanded="True">
            <Event Name="MceRemote.Radio" />
            <Action>
                MCE.Radio()
            </Action>
        </Macro>
        <Macro Name="MCE: VolumeUp" Expanded="True">
            <Event Name="MceRemote.VolumeUp" />
            <Action>
                MCE.VolumeUpKey()
            </Action>
        </Macro>
        <Macro Name="MCE: VolumeDown" Expanded="True">
            <Event Name="MceRemote.VolumeDown" />
            <Action>
                MCE.VolumeDownKey()
            </Action>
        </Macro>
        <Macro Name="MCE: Back" Expanded="True">
            <Event Name="MceRemote.Back" />
            <Action>
                MCE.BackKey()
            </Action>
        </Macro>
        <Macro Name="MCE: Play" Expanded="True">
            <Event Name="MceRemote.Play" />
            <Action>
                MCE.Play()
            </Action>
        </Macro>
        <Macro Name="MCE: Rewind" Expanded="True">
            <Event Name="MceRemote.Rewind" />
            <Action>
                MCE.RewindKey()
            </Action>
        </Macro>
        <Macro Name="MCE: Replay" Expanded="True">
            <Event Name="MceRemote.Replay" />
            <Action>
                MCE.ReplayKey()
            </Action>
        </Macro>
        <Macro Name="MCE: Pause" Expanded="True">
            <Event Name="MceRemote.Pause" />
            <Action>
                MCE.Pause()
            </Action>
        </Macro>
        <Macro Name="MCE: Stop" Expanded="True">
            <Event Name="MceRemote.Stop" />
            <Action>
                MCE.Stop()
            </Action>
        </Macro>
        <Macro Name="MCE: Forward" Expanded="True">
            <Event Name="MceRemote.Forward" />
            <Action>
                MCE.ForwardKey()
            </Action>
        </Macro>
        <Macro Name="MCE: Skip" Expanded="True">
            <Event Name="MceRemote.Skip" />
            <Action>
                MCE.SkipKey()
            </Action>
        </Macro>
        <Macro Name="MCE: Mute" Expanded="True">
            <Event Name="MceRemote.Mute" />
            <Action>
                MCE.Mute()
            </Action>
        </Macro>
        <Macro Name="MCE: Menu" Expanded="True">
            <Event Name="MceRemote.DVDMenu" />
            <Action>
                MCE.Menu()
            </Action>
        </Macro>
        <Macro Name="MCE: Enter" Expanded="True">
            <Event Name="MceRemote.Enter" />
            <Action>
                MCE.EnterKey()
            </Action>
        </Macro>
        <Macro Name="MCE: Ok" Enabled="False" Expanded="True">
            <Event Name="MceRemote.Ok" />
            <Action>
                MCE.Ok()
            </Action>
        </Macro>
    </Folder>
</EventGhost>
