<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Name="Configuration Tree" Expanded="True" Version="1194" Guid="{DEE449A0-3C38-4B2E-9AE2-CFFDA4631A43}" Time="1255917651.75">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin File="X10" Identifier="X10">
            gAJLAl1xAChLAUsCSwNLBEsFSwZLB0sISwlLCksLSwxLDUsOSw9LEGVYAwAAAFgxMHEBh3ECLg==
        </Plugin>
        <Plugin File="Task" Identifier="Task">
            gAIpLg==
        </Plugin>
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(53))
        </Action>
        <Plugin File="LogitechUltraX" Identifier="UltraX">
            gAIpLg==
        </Plugin>
        <Plugin File="MediaPortal" Identifier="MediaPortal">
            gAIpLg==
        </Plugin>
        <Plugin File="XBMC" Identifier="XBMC">
            gAIpLg==
        </Plugin>
    </Autostart>
    <Macro Name="Switch to mode: Mouse Emulation">
        <Event Name="Setup" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(18))
        </Action>
    </Macro>
    <Macro Name="Switch to mode: Keyboard Emulation">
        <Event Name="TXT" />
        <Event Name="Task.Deactivated.zplayer" />
        <Event Name="Task.Deactivated.winamp" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(53))
        </Action>
    </Macro>
    <Folder Name="Context Folder" Expanded="True">
        <Folder Name="Mouse Emulation" id="18" Enabled="False">
            <Macro Name="Mouse Move Up">
                <Event Name="Up" />
                <Event Name="Num2" />
                <Action>
                    Mouse.GoDirection(0)
                </Action>
            </Macro>
            <Macro Name="Mouse Move RightUp">
                <Event Name="Num3" />
                <Action>
                    Mouse.GoDirection(45)
                </Action>
            </Macro>
            <Macro Name="Mouse Move Right">
                <Event Name="Right" />
                <Event Name="Num6" />
                <Action>
                    Mouse.GoDirection(90)
                </Action>
            </Macro>
            <Macro Name="Mouse Move RightDown">
                <Event Name="Num9" />
                <Action>
                    Mouse.GoDirection(u'135')
                </Action>
            </Macro>
            <Macro Name="Mouse Move Down">
                <Event Name="Down" />
                <Event Name="Num8" />
                <Action>
                    Mouse.GoDirection(u'180')
                </Action>
            </Macro>
            <Macro Name="Mouse Move LeftDown">
                <Event Name="Num7" />
                <Action>
                    Mouse.GoDirection(225)
                </Action>
            </Macro>
            <Macro Name="Mouse Move Left">
                <Event Name="Left" />
                <Event Name="Num4" />
                <Action>
                    Mouse.GoDirection(270)
                </Action>
            </Macro>
            <Macro Name="Mouse Move LeftUp">
                <Event Name="Num1" />
                <Action>
                    Mouse.GoDirection(315)
                </Action>
            </Macro>
            <Macro Name="Left Mouse Button">
                <Event Name="X10.Rename" />
                <Action>
                    Mouse.LeftButton()
                </Action>
            </Macro>
            <Macro Name="Right Mouse Button">
                <Event Name="X10.Snapshot" />
                <Action>
                    Mouse.RightButton()
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Keyboard Emulation" id="53" Expanded="True">
            <Macro Name="Up" Expanded="True">
                <Event Name="Up" />
                <Action>
                    XBMC.Up()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(2.6000000000000001, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Down" Expanded="True">
                <Event Name="Down" />
                <Action>
                    XBMC.Down()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(2.6000000000000001, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Right" Expanded="True">
                <Event Name="Right" />
                <Action>
                    XBMC.Right()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(2.6000000000000001, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Left" Expanded="True">
                <Event Name="Left" />
                <Action>
                    XBMC.Left()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(2.6000000000000001, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Ok -&gt; Enter Key">
                <Event Name="Ok" />
                <Action>
                    Window.SendKeys(u'{Enter}')
                </Action>
            </Macro>
            <Macro Name="Delete -&gt; Escape Key">
                <Event Name="Delete" />
                <Action>
                    Window.SendKeys(u'{Esc}')
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
            <Macro Name="Forward -&gt; Tabulator">
                <Event Name="Forward" />
                <Action>
                    Window.SendKeys(u'{Tab}')
                </Action>
            </Macro>
            <Macro Name="Rewind -&gt; Shift+Tabulator">
                <Event Name="Rewind" />
                <Action>
                    Window.SendKeys(u'{Shift+Tab}')
                </Action>
            </Macro>
            <Macro Name="ChannelUp -&gt; Plus">
                <Event Name="ChannelUp" />
                <Action>
                    Window.SendKeys(u'+')
                </Action>
            </Macro>
            <Macro Name="ChannelDown -&gt; Minus">
                <Event Name="ChannelDown" />
                <Action>
                    Window.SendKeys(u'-')
                </Action>
            </Macro>
            <Macro Name="Rename -&gt; Start Menu">
                <Event Name="Rename" />
                <Action>
                    Window.SendKeys(u'{Win}')
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
        </Folder>
    </Folder>
    <Folder Name="Volume Control">
        <Macro Name="Mute Volume">
            <Event Name="Mute" />
            <Action>
                System.ToggleMute()
            </Action>
        </Macro>
        <Macro Name="Decrease Volume">
            <Event Name="VolumeDown" />
            <Action>
                System.ChangeMasterVolumeBy(-2.0)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Increase Volume">
            <Event Name="VolumeUp" />
            <Action>
                System.ChangeMasterVolumeBy(2.0)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Other Examples">
        <Folder Name="State Folder Example">
            <Folder Name="Folder1" id="111">
                <Macro Name="Enable other Folder">
                    <Event Name="Blue" />
                    <Action>
                        EventGhost.EnableExclusive(XmlIdLink(115))
                    </Action>
                </Macro>
            </Folder>
            <Folder Name="Folder2" id="115" Enabled="False">
                <Macro Name="Enable other Folder">
                    <Event Name="Blue" />
                    <Action>
                        EventGhost.EnableExclusive(XmlIdLink(119))
                    </Action>
                </Macro>
            </Folder>
            <Folder Name="Folder3" id="119" Enabled="False">
                <Macro Name="Enable other Folder">
                    <Event Name="Blue" />
                    <Action>
                        EventGhost.EnableExclusive(XmlIdLink(111))
                    </Action>
                </Macro>
            </Folder>
        </Folder>
        <Folder Name="State Macro Example">
            <Macro Name="State1" id="124" Enabled="False">
                <Event Name="Green" />
                <Action>
                    EventGhost.DisableItem(XmlIdLink(124))
                </Action>
                <Action>
                    EventGhost.EnableItem(XmlIdLink(129))
                </Action>
                <Action Enabled="False">
                    System.MonitorPowerOff()
                </Action>
            </Macro>
            <Macro Name="State2" id="129">
                <Event Name="Green" />
                <Action>
                    EventGhost.EnableItem(XmlIdLink(124))
                </Action>
                <Action>
                    EventGhost.DisableItem(XmlIdLink(129))
                </Action>
                <Action>
                    System.MonitorPowerOn()
                </Action>
            </Macro>
        </Folder>
        <Folder Name="State Macro Example 2">
            <Macro Name="Macro1" id="135" Enabled="False">
                <Event Name="Yellow" />
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(138))
                </Action>
            </Macro>
            <Macro Name="Macro2" id="138">
                <Event Name="Yellow" />
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(141))
                </Action>
            </Macro>
            <Macro Name="Macro3" id="141" Enabled="False">
                <Event Name="Yellow" />
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(135))
                </Action>
            </Macro>
        </Folder>
    </Folder>
    <Folder Name="XBMC" Expanded="True">
        <Macro Name="Up" Expanded="True">
            <Event Name="UltraX.Up" />
            <Action>
                XBMC.Up()
            </Action>
        </Macro>
        <Macro Name="Down" Expanded="True">
            <Event Name="UltraX.Down" />
            <Action>
                XBMC.Down()
            </Action>
        </Macro>
        <Macro Name="Left" Expanded="True">
            <Event Name="UltraX.Left" />
            <Action>
                XBMC.Left()
            </Action>
        </Macro>
        <Macro Name="Right" Expanded="True">
            <Event Name="UltraX.Right" />
            <Action>
                XBMC.Right()
            </Action>
        </Macro>
        <Macro Name="Page Up" Expanded="True">
            <Event Name="UltraX.Up" />
            <Action>
                XBMC.PageUp()
            </Action>
        </Macro>
        <Macro Name="Page Down" Expanded="True">
            <Event Name="UltraX.Down" />
            <Action>
                XBMC.PageDown()
            </Action>
        </Macro>
        <Macro Name="Select" Expanded="True">
            <Event Name="UltraX.Ok" />
            <Action>
                XBMC.Select()
            </Action>
        </Macro>
        <Macro Name="Previous Menu" Expanded="True">
            <Event Name="UltraX.Back" />
            <Action>
                XBMC.PreviousMenu()
            </Action>
        </Macro>
        <Macro Name="Context Menu" Expanded="True">
            <Event Name="UltraX.DVDMenu" />
            <Action>
                XBMC.ContextMenu()
            </Action>
        </Macro>
        <Macro Name="Play" Expanded="True">
            <Event Name="UltraX.Play" />
            <Action>
                XBMC.Play()
            </Action>
        </Macro>
        <Macro Name="Pause" Expanded="True">
            <Event Name="UltraX.Play" />
            <Action>
                XBMC.Pause()
            </Action>
        </Macro>
        <Macro Name="Stop" Expanded="True">
            <Event Name="UltraX.Stop" />
            <Action>
                XBMC.Stop()
            </Action>
        </Macro>
        <Macro Name="Fast Forward" Expanded="True">
            <Event Name="UltraX.Forward" />
            <Action>
                XBMC.FastForward()
            </Action>
        </Macro>
        <Macro Name="Rewind" Expanded="True">
            <Event Name="UltraX.Rewind" />
            <Action>
                XBMC.Rewind()
            </Action>
        </Macro>
        <Macro Name="Skip Next" Expanded="True">
            <Event Name="UltraX.NextTrack" />
            <Action>
                XBMC.SkipNext()
            </Action>
        </Macro>
        <Macro Name="Skip Previous" Expanded="True">
            <Event Name="UltraX.PreviousTrack" />
            <Action>
                XBMC.SkipPrevious()
            </Action>
        </Macro>
        <Macro Name="Record" Expanded="True">
            <Event Name="UltraX.Record" />
            <Action>
                XBMC.Record()
            </Action>
        </Macro>
        <Macro Name="Big Skip Backward">
            <Action>
                XBMC.BigSkipBackward()
            </Action>
        </Macro>
        <Macro Name="Big Skip Forward">
            <Action>
                XBMC.BigSkipForward()
            </Action>
        </Macro>
        <Macro Name="Small Skip Backward">
            <Action>
                XBMC.SmallSkipBackward()
            </Action>
        </Macro>
        <Macro Name="Small Skip Forward">
            <Action>
                XBMC.SmallSkipForward()
            </Action>
        </Macro>
        <Macro Name="Aspect Ratio" Expanded="True">
            <Event Name="UltraX.SAP" />
            <Action>
                XBMC.AspectRatio()
            </Action>
        </Macro>
        <Macro Name="Codec Info">
            <Action>
                XBMC.CodecInfo()
            </Action>
        </Macro>
        <Macro Name="Full Screen">
            <Action>
                XBMC.FullScreen()
            </Action>
        </Macro>
        <Macro Name="Repeat" Expanded="True">
            <Event Name="UltraX.Repeat" />
            <Action>
                XBMC.Repeat()
            </Action>
        </Macro>
        <Macro Name="Show Subtitles" Expanded="True">
            <Event Name="UltraX.Subtitle" />
            <Action>
                XBMC.ShowSubtitles()
            </Action>
        </Macro>
        <Macro Name="Show OSD">
            <Action>
                XBMC.OSD()
            </Action>
        </Macro>
        <Macro Name="Show Time">
            <Action>
                XBMC.ShowTime()
            </Action>
        </Macro>
        <Macro Name="Volume Up" Expanded="True">
            <Event Name="UltraX.VolumeUp" />
            <Action>
                XBMC.VolumeUp()
            </Action>
        </Macro>
        <Macro Name="Volume Down" Expanded="True">
            <Event Name="UltraX.VolumeDown" />
            <Action>
                XBMC.VolumeDown()
            </Action>
        </Macro>
        <Macro Name="Mute" Expanded="True">
            <Event Name="UltraX.Mute" />
            <Action>
                XBMC.Mute()
            </Action>
        </Macro>
        <Macro Name="Scroll Up">
            <Action>
                XBMC.ScrollUp()
            </Action>
        </Macro>
        <Macro Name="Scroll Down">
            <Action>
                XBMC.ScrollDown()
            </Action>
        </Macro>
        <Macro Name="Close" Expanded="True">
            <Event Name="UltraX.Close" />
            <Action>
                XBMC.Close()
            </Action>
        </Macro>
        <Macro Name="Number 0" Expanded="True">
            <Event Name="UltraX.Num0" />
            <Action>
                XBMC.Number0()
            </Action>
        </Macro>
        <Macro Name="Number 1" Expanded="True">
            <Event Name="UltraX.Num1" />
            <Action>
                XBMC.Number1()
            </Action>
        </Macro>
        <Macro Name="Number 2" Expanded="True">
            <Event Name="UltraX.Num2" />
            <Action>
                XBMC.Number2()
            </Action>
        </Macro>
        <Macro Name="Number 3" Expanded="True">
            <Event Name="UltraX.Num3" />
            <Action>
                XBMC.Number3()
            </Action>
        </Macro>
        <Macro Name="Number 4" Expanded="True">
            <Event Name="UltraX.Num4" />
            <Action>
                XBMC.Number4()
            </Action>
        </Macro>
        <Macro Name="Number 5" Expanded="True">
            <Event Name="UltraX.Num5" />
            <Action>
                XBMC.Number5()
            </Action>
        </Macro>
        <Macro Name="Number 6" Expanded="True">
            <Event Name="UltraX.Num6" />
            <Action>
                XBMC.Number6()
            </Action>
        </Macro>
        <Macro Name="Number 7" Expanded="True">
            <Event Name="UltraX.Num7" />
            <Action>
                XBMC.Number7()
            </Action>
        </Macro>
        <Macro Name="Number 8" Expanded="True">
            <Event Name="UltraX.Num8" />
            <Action>
                XBMC.Number8()
            </Action>
        </Macro>
        <Macro Name="Number 9" Expanded="True">
            <Event Name="UltraX.Num9" />
            <Action>
                XBMC.Number9()
            </Action>
        </Macro>
        <Macro Name="Playlist" Expanded="True">
            <Event Name="UltraX.Info" />
            <Action>
                XBMC.Playlist()
            </Action>
        </Macro>
        <Macro Name="Queue">
            <Action>
                XBMC.Queue()
            </Action>
        </Macro>
        <Macro Name="Move Item Up" Expanded="True">
            <Event Name="UltraX.ChannelUp" />
            <Action>
                XBMC.MoveItemUp()
            </Action>
        </Macro>
        <Macro Name="Move Item Down" Expanded="True">
            <Event Name="UltraX.ChannelDown" />
            <Action>
                XBMC.MoveItemDown()
            </Action>
        </Macro>
        <Macro Name="Delete">
            <Action>
                XBMC.Delete()
            </Action>
        </Macro>
        <Macro Name="Random">
            <Action>
                XBMC.Random()
            </Action>
        </Macro>
        <Macro Name="Repeat">
            <Action>
                XBMC.Repeat()
            </Action>
        </Macro>
        <Macro Name="Party Mode">
            <Action>
                XBMC.PartyMode()
            </Action>
        </Macro>
        <Macro Name="Parent Dir">
            <Action>
                XBMC.ParentDir()
            </Action>
        </Macro>
        <Macro Name="Info">
            <Action>
                XBMC.Info()
            </Action>
        </Macro>
        <Macro Name="Take Screen Shot">
            <Action>
                XBMC.TakeScreenShot()
            </Action>
        </Macro>
        <Macro Name="Eject Tray">
            <Action>
                XBMC.EjectTray()
            </Action>
        </Macro>
        <Macro Name="Play DVD">
            <Event Name="UltraX.DVD" />
            <Action>
                XBMC.PlayDVD()
            </Action>
        </Macro>
        <Macro Name="Show Home Screen">
            <Event Name="UltraX.Home" />
            <Action>
                XBMC.Home()
            </Action>
        </Macro>
        <Macro Name="Show Videos Screen">
            <Event Name="UltraX.Videos" />
            <Action>
                XBMC.MyVideos()
            </Action>
        </Macro>
        <Macro Name="Show Music Screen" Expanded="True">
            <Event Name="UltraX.Music" />
            <Action>
                XBMC.MyMusic()
            </Action>
        </Macro>
        <Macro Name="Show Pictures Screen" Expanded="True">
            <Event Name="UltraX.Pictures" />
            <Action>
                XBMC.MyPictures()
            </Action>
        </Macro>
        <Macro Name="Show Movies Screen" Expanded="True">
            <Event Name="UltraX.Videos" />
            <Action>
                XBMC.MyMovies()
            </Action>
        </Macro>
        <Macro Name="Show TV Shows Screen" Expanded="True">
            <Event Name="UltraX.TV" />
            <Action>
                XBMC.MyTVShows()
            </Action>
        </Macro>
        <Macro Name="Show Weather Screen">
            <Action>
                XBMC.Weather()
            </Action>
        </Macro>
        <Macro Name="Show Settings Screen">
            <Action>
                XBMC.Settings()
            </Action>
        </Macro>
        <Macro Name="Show Favorites Screen">
            <Action>
                XBMC.Favorites()
            </Action>
        </Macro>
        <Macro Name="Show System Info Screen">
            <Action>
                XBMC.SystemInfo()
            </Action>
        </Macro>
        <Macro Name="Last FM Love">
            <Action>
                XBMC.LastFMLove()
            </Action>
        </Macro>
        <Macro Name="Last FM Ban">
            <Action>
                XBMC.LastFMBan()
            </Action>
        </Macro>
        <Macro Name="Update Video Library">
            <Action>
                XBMC.UpdateVideoLibrary()
            </Action>
        </Macro>
        <Macro Name="Update Music Library">
            <Action>
                XBMC.UpdateMusicLibrary()
            </Action>
        </Macro>
        <Macro Name="Show Shutdown Menu" Expanded="True">
            <Event Name="ZoomPlayer.close" />
            <Action>
                XBMC.ShutdownMenu()
            </Action>
        </Macro>
        <Macro Name="Quit XBMC" Expanded="True">
            <Event Name="UltraX.Close" />
            <Action>
                XBMC.Quit()
            </Action>
        </Macro>
        <Macro Name="Shutdown Computer">
            <Action>
                XBMC.Shutdown()
            </Action>
        </Macro>
        <Macro Name="Powerdown Computer">
            <Action>
                XBMC.Powerdown()
            </Action>
        </Macro>
        <Macro Name="Suspend Computer">
            <Action>
                XBMC.Suspend()
            </Action>
        </Macro>
        <Macro Name="Hibernate Computer">
            <Action>
                XBMC.Hibernate()
            </Action>
        </Macro>
        <Macro Name="Reset Computer">
            <Action>
                XBMC.Reset()
            </Action>
        </Macro>
        <Macro Name="&lt;unnamed macro&gt;" />
    </Folder>
</EventGhost>
