<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1572" Guid="{844708D2-524B-4257-AE4C-A0492D5B6C88}" Time="1344393898.16">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin Identifier="WMPlayer" Guid="{87D26B8D-990C-457C-85C2-8D634868E1D2}" File="WMPlayer">
            gAIpLg==
        </Plugin>
        <Plugin Identifier="Task" Guid="{D1748551-C605-4423-B392-FB77E6842437}" File="Task">
            gAIpLg==
        </Plugin>
        <Plugin Identifier="PowerDvd" Guid="{4DBDFFA7-9E47-4782-B843-B196C74DE3EF}" File="PowerDVD">
            gAIpLg==
        </Plugin>
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Plugin Identifier="Multitap" Guid="{1B447D2C-236A-469A-AE5A-640BF902392B}" File="Multitap">
            gAJdcQBdcQEoWAMAAABTTVNxAlgDAAAAU01TcQOIRz/pmZmZmZmaSwCISwBlYYVxBC4=
        </Plugin>
        <Plugin Identifier="SageTV" Guid="{654FC50A-3052-42F7-AE26-84A752FFDCA6}" File="SageTV">
            gAJLAIVxAC4=
        </Plugin>
        <Action>
            System.ToggleMute()
        </Action>
        <Action>
            System.ToggleMute()
        </Action>
        <Action Name="mute = int(eg.result)">
            EventGhost.PythonCommand(u'mute = (eg.result)')
        </Action>
        <Action>
            EventGhost.PythonScript(u'if eg.globals.mute==1:\n    eg.TriggerEvent("OSD.onkey(0)")\nelse:\n    eg.TriggerEvent("OSD.onkey(1)")')
        </Action>
        <Action>
            EventGhost.PythonCommand(u'from time import strftime')
        </Action>
        <Plugin Identifier="MceRemote" Guid="{02181DB1-F29D-4CCB-BF91-7A86EFB0D22C}" File="MceRemote">
            gAJHP8MzMzMzMzOIhnEALg==
        </Plugin>
        <Action>
            EventGhost.PythonCommand(u'datestring = strftime("%a, %b %d, %Y")')
        </Action>
    </Autostart>
    <Folder Name="Turn On Arrows" id="16" Enabled="False">
        <Macro Name="Disable: Mouse">
            <Event Name="MceRemote.DVDMenu" />
            <Action>
                EventGhost.DisableItem(XmlIdLink(30))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(16))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(97))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(23))
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Turn Off Arrows" id="23">
        <Macro Name="Disable: Arrows">
            <Event Name="MceRemote.DVDMenu" />
            <Action>
                EventGhost.DisableItem(XmlIdLink(97))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(30))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(16))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(23))
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Mouse" id="30" Enabled="False">
        <Macro Name="Up" Expanded="True">
            <Event Name="MceRemote.Up" />
            <Action>
                Mouse.MoveRelative(None, -20)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 3.0)
            </Action>
        </Macro>
        <Macro Name="Left" Expanded="True">
            <Event Name="MceRemote.Left" />
            <Action>
                Mouse.MoveRelative(-15, None)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 3.0)
            </Action>
        </Macro>
        <Macro Name="ok">
            <Event Name="MceRemote.Ok" />
            <Action>
                EventGhost.JumpIfLongPress(1.0, XmlIdLink(43))
            </Action>
            <Action>
                Mouse.LeftButton()
            </Action>
        </Macro>
        <Macro Name="Right mouse button" id="43" Expanded="True">
            <Action>
                Mouse.RightButton()
            </Action>
        </Macro>
        <Macro Name="Right">
            <Event Name="MceRemote.Right" />
            <Action>
                Mouse.MoveRelative(20, None)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 3.0)
            </Action>
        </Macro>
        <Macro Name="Down" Expanded="True">
            <Event Name="Down" />
            <Action>
                Mouse.MoveRelative(None, 15)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 3.0)
            </Action>
        </Macro>
    </Folder>
    <Folder Name="OSD" Expanded="True">
        <Macro Name="OSD.OnKey(0)" Expanded="True">
            <Event Name="Main.OSD.onkey(0)" />
            <Action>
                EventGhost.EnableItem(XmlIdLink(133))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(142))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(141))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(132))
            </Action>
        </Macro>
        <Macro Name="OSD.OnKey(1)" Expanded="True">
            <Event Name="Main.OSD.onkey(1)" />
            <Action>
                EventGhost.DisableItem(XmlIdLink(142))
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(133))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(132))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(141))
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Numpad" id="66">
        <Macro Name="1">
            <Event Name="MceRemote.Num1" />
            <Action>
                Window.SendKeys(u'1', False)
            </Action>
        </Macro>
        <Macro Name="2">
            <Event Name="MceRemote.Num2" />
            <Action>
                Window.SendKeys(u'2', False)
            </Action>
        </Macro>
        <Macro Name="3">
            <Event Name="MceRemote.Num3" />
            <Action>
                Window.SendKeys(u'3', False)
            </Action>
        </Macro>
        <Macro Name="4">
            <Event Name="MceRemote.Num4" />
            <Action>
                Window.SendKeys(u'4', False)
            </Action>
        </Macro>
        <Macro Name="5">
            <Event Name="MceRemote.Num5" />
            <Action>
                Window.SendKeys(u'5', False)
            </Action>
        </Macro>
        <Macro Name="6">
            <Event Name="MceRemote.Num6" />
            <Action>
                Window.SendKeys(u'6', False)
            </Action>
        </Macro>
        <Macro Name="7">
            <Event Name="MceRemote.Num7" />
            <Action>
                Window.SendKeys(u'7', False)
            </Action>
        </Macro>
        <Macro Name="8">
            <Event Name="MceRemote.Num8" />
            <Action>
                Window.SendKeys(u'8', False)
            </Action>
        </Macro>
        <Macro Name="9">
            <Event Name="MceRemote.Num9" />
            <Action>
                Window.SendKeys(u'9', False)
            </Action>
        </Macro>
        <Macro Name="0">
            <Event Name="MceRemote.Num0" />
            <Action>
                Window.SendKeys(u'0', False)
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Arrows" id="97">
        <Macro Name="Up">
            <Event Name="MceRemote.Up" />
            <Action>
                Window.SendKeys(u'{up}', False)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Left">
            <Event Name="MceRemote.Left" />
            <Action>
                Window.SendKeys(u'{left}', False)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="ok">
            <Event Name="MceRemote.Ok" />
            <Action>
                Window.SendKeys(u'{enter}', False)
            </Action>
        </Macro>
        <Macro Name="Right">
            <Event Name="MceRemote.Right" />
            <Action>
                Window.SendKeys(u'{Right}', False)
            </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>
            <Action>
                Mouse.MoveAbsolute(6355, 300)
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Volume" Expanded="True">
        <Folder Name="Volume Set" Expanded="True">
            <Macro Name="Set Master Volume: 4.00 %" id="120" Expanded="True">
                <Action>
                    System.SetMasterVolume(20.0, 0)
                </Action>
            </Macro>
        </Folder>
        <Macro Name="Mute Volume" Expanded="True">
            <Event Name="Mute" />
            <Action>
                System.ToggleMute()
            </Action>
            <Action Name="mute = int(eg.result)">
                EventGhost.PythonCommand(u'mute = (eg.result)')
            </Action>
            <Action>
                EventGhost.PythonScript(u'if eg.globals.mute==1:\n    eg.TriggerEvent("OSD.onkey(0)")\nelse:\n    eg.TriggerEvent("OSD.onkey(1)")')
            </Action>
        </Macro>
        <Macro Name="Increase Volume" Expanded="True">
            <Event Name="VolumeUp" />
            <Action>
                EventGhost.PythonCommand(u'from time import strftime')
            </Action>
            <Action>
                System.ChangeMasterVolumeBy(2.0, 0)
            </Action>
            <Action>
                EventGhost.PythonCommand(u'timestring = strftime("%I:%M %p")')
            </Action>
            <Action id="132">
                EventGhost.ShowOSD(u" Volume {'|'*int(round(eg.result)/2)+'.'*(50-int(round(eg.result)/2))} {int(round(eg.result))}%\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {datestring}\n {timestring}", u'0;-30;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 2.0, False)
            </Action>
            <Action Name="Show M OSD: Volume: {tmpvol}%  \n {MyVolBar}  \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {datestring}\n {timestring}" id="133" Enabled="False">
                EventGhost.ShowOSD(u" Volume {'|'*int(round(eg.result)/2)+'.'*(50-int(round(eg.result)/2))} {int(round(eg.result))}%\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {datestring}\n {timestring}", u'0;-30;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (255, 0, 0), (0, 0, 0), 0, (0, 0), 0, 2.0, False)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.40000000000000002, 0.050000000000000003, 0.02, 2.0)
            </Action>
            <Action>
                EventGhost.PythonCommand(u'datestring = strftime("%a, %b %d, %Y")')
            </Action>
        </Macro>
        <Macro Name="Decrease Volume" Expanded="True">
            <Event Name="MceRemote.VolumeDown" />
            <Action>
                EventGhost.PythonCommand(u'from time import strftime')
            </Action>
            <Action>
                System.ChangeMasterVolumeBy(-2.0, 0)
            </Action>
            <Action>
                EventGhost.PythonCommand(u'timestring = strftime("%I:%M %p")')
            </Action>
            <Action id="141">
                EventGhost.ShowOSD(u" Volume {'|'*int(round(eg.result)/2)+'.'*(50-int(round(eg.result)/2))} {int(round(eg.result))}%\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {datestring}\n {timestring}", u'0;-30;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 2.0, False)
            </Action>
            <Action Name="Show M OSD: Volume: {tmpvol}%  \n {MyVolBar}  \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {datestring}\n {timestring}" id="142" Enabled="False">
                EventGhost.ShowOSD(u" Volume {'|'*int(round(eg.result)/2)+'.'*(50-int(round(eg.result)/2))} {int(round(eg.result))}%\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {datestring}\n {timestring}", u'0;-30;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (255, 0, 0), (0, 0, 0), 0, (0, 0), 0, 2.0, False)
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.40000000000000002, 0.050000000000000003, 0.02, 2.0)
            </Action>
            <Action>
                EventGhost.PythonCommand(u'datestring = strftime("%a, %b %d, %Y")')
            </Action>
        </Macro>
    </Folder>
    <Folder Name="TestMultitap" id="145" Enabled="False">
        <Folder Name="SMS mode">
            <Macro Name="Multitap: SMS abc">
                <Event Name="MceRemote.Num2" />
                <Action>
                    Multitap.Key(u'SMS', [u'abc2', u'ABC2'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS def3">
                <Event Name="MceRemote.Num3" />
                <Action>
                    Multitap.Key(u'SMS', [u'def3', u'DEF3'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS ghi4">
                <Event Name="MceRemote.Num4" />
                <Action>
                    Multitap.Key(u'SMS', [u'ghi4', u'GHI4'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS jkl5">
                <Event Name="MceRemote.Num5" />
                <Action>
                    Multitap.Key(u'SMS', [u'jkl5', u'JKL5'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS MNO6">
                <Event Name="MceRemote.Num6" />
                <Action>
                    Multitap.Key(u'SMS', [u'mno6', u'MNO6'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS PQRS7">
                <Event Name="MceRemote.Num7" />
                <Action>
                    Multitap.Key(u'SMS', [u'pqrs7', u'PQRS7'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS tuv8">
                <Event Name="MceRemote.Num8" />
                <Action>
                    Multitap.Key(u'SMS', [u'tuv8', u'TUV8'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS wxyz9">
                <Event Name="MceRemote.Num9" />
                <Action>
                    Multitap.Key(u'SMS', [u'wxyz9', u'WXYZ9'])
                </Action>
            </Macro>
            <Macro Name="Multitap: SMS space 0">
                <Event Name="MceRemote.Num0" />
                <Action>
                    Multitap.Key(u'SMS', [u'{Space}0', u'{Space}0'])
                </Action>
            </Macro>
            <Macro Name="Multitap: Caps Lock">
                <Event Name="MceRemote.Star" />
                <Action>
                    Multitap.Shift()
                </Action>
            </Macro>
            <Macro Name="Multitap: Enter">
                <Event Name="MceRemote.Enter" />
                <Event Name="MceRemote.Ok" />
                <Action>
                    Multitap.Enter()
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(-1))
                </Action>
            </Macro>
            <Macro Name="Multitap: Cancel">
                <Event Name="MceRemote.Escape" />
                <Action>
                    Multitap.Cancel()
                </Action>
            </Macro>
        </Folder>
        <Folder Name="OUTPUT" Expanded="True">
            <Macro Name="Show OSD: {eg.event.payload}">
                <Event Name="Multitap.SMS" />
                <Action>
                    Window.FindWindow(u'explorer.exe', None, None, None, None, 1, False, 0.0, 0)
                </Action>
                <Action>
                    EventGhost.PythonCommand(u'for c in eg.event.payload : eg.plugins.Window.SendKeys(c, True)')
                </Action>
            </Macro>
        </Folder>
    </Folder>
    <Macro Name="Back -&gt; Esc" id="190">
        <Event Name="Back" />
        <Action>
            Window.SendKeys(u'{Escape}', False)
        </Action>
    </Macro>
    <Macro Name="Forced Stand By" id="193">
        <Action>
            System.Standby(False)
        </Action>
    </Macro>
    <Macro Name="Deactivate: Quicktime">
        <Event Name="Task.Destroyed.QuickTimePlayer" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Deactivate: WMP">
        <Event Name="Task.Deactivated.wmplayer" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(-1))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Deactivate: DVFAB">
        <Event Name="Task.Deactivated.DVDFab" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(-1))
        </Action>
        <Action>
            EventGhost.DisableItem(XmlIdLink(30))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(97))
        </Action>
    </Macro>
    <Macro Name="Deactivate: VLC">
        <Event Name="Task.Destroyed.vlc" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(-1))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Deactivate: Hulu">
        <Event Name="Task.Deactivated.HuluDesktop" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Deactivate: SageTV">
        <Event Name="Task.Destroyed.SageTV" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(190))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Deactivate Nero">
        <Event Name="Task.Destroyed.ShowTime" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Deactivate Internet Explorer">
        <Event Name="Task.Deactivated.iexplore" />
        <Action>
            EventGhost.DisableItem(XmlIdLink(145))
        </Action>
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(66))
        </Action>
    </Macro>
    <Macro Name="Deactivate Chrome">
        <Event Name="Task.Deactivated.chrome" />
        <Action>
            EventGhost.DisableItem(XmlIdLink(145))
        </Action>
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(66))
        </Action>
    </Macro>
    <Macro Name="Deactivate Netflix">
        <Event Name="Task.Destroyed.Netflix TX Desktop" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: IE">
        <Event Name="Task.Activated.iexplore" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(345))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(360))
        </Action>
        <Action>
            EventGhost.DisableItem(XmlIdLink(353))
        </Action>
        <Action>
            EventGhost.DisableItem(XmlIdLink(66))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(346))
        </Action>
    </Macro>
    <Macro Name="Deactivate WMP">
        <Event Name="Task.Destroyed.wmplayer" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(487))
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(120), 2, False)
        </Action>
    </Macro>
    <Macro Name="Startup">
        <Event Name="MceRemote.Start" />
        <Action>
            EventGhost.JumpIfLongPress(2.0, XmlIdLink(256))
        </Action>
        <Action>
            Window.SendKeys(u'{Win}', False)
        </Action>
    </Macro>
    <Macro Name="Start Hold" id="256">
        <Action>
            Window.SendKeys(u'{Win+m}', False)
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: Windows Media Player">
        <Event Name="Task.Activated.wmplayer" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(297))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: Nero">
        <Event Name="Task.Activated.ShowTime" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(622))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: Hulu">
        <Event Name="Task.Activated.HuluDesktop" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(851))
        </Action>
    </Macro>
    <Macro Name="Enable Exclusive: Chrome">
        <Event Name="Task.Activated.chrome" />
        <Action>
            EventGhost.DisableItem(XmlIdLink(1008))
        </Action>
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(1000))
        </Action>
        <Action>
            EventGhost.DisableItem(XmlIdLink(66))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(360))
        </Action>
        <Action>
            EventGhost.EnableItem(XmlIdLink(1001))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: Quicktime">
        <Event Name="Task.Activated.QuickTimePlayer" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(676))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: DVDFAB">
        <Event Name="Task.Activated.DVDFab" />
        <Action>
            EventGhost.EnableItem(XmlIdLink(30))
        </Action>
        <Action>
            EventGhost.DisableItem(XmlIdLink(97))
        </Action>
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(925))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: VLC">
        <Event Name="Task.Activated.vlc" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(558))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: SageTV">
        <Event Name="Task.Activated.SageTV" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(770))
        </Action>
        <Action>
            EventGhost.DisableItem(XmlIdLink(190))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: NPVR">
        <Event Name="Task.Activated.NextPVR" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(770))
        </Action>
        <Action>
            EventGhost.DisableItem(XmlIdLink(190))
        </Action>
    </Macro>
    <Macro Name="Enable exclusive: Netflix">
        <Event Name="Task.Activated.Netflix TX Desktop" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(699))
        </Action>
    </Macro>
    <Folder Name="Context Folder" Expanded="True">
        <Folder Name="Windows Media Player" id="297" Enabled="False">
            <Macro Name="Toggle Play">
                <Event Name="MceRemote.Play" />
                <Event Name="MceRemote.Pause" />
                <Action>
                    WMPlayer.TogglePlay()
                </Action>
            </Macro>
            <Macro Name="Stop">
                <Event Name="MceRemote.Stop" />
                <Action>
                    WMPlayer.Stop()
                </Action>
            </Macro>
            <Macro Name="Previous Track">
                <Event Name="MceRemote.Replay" />
                <Action>
                    WMPlayer.PreviousTrack()
                </Action>
            </Macro>
            <Macro Name="Next Track">
                <Event Name="MceRemote.Skip" />
                <Action>
                    WMPlayer.NextTrack()
                </Action>
            </Macro>
            <Macro Name="Fast Forward">
                <Event Name="MceRemote.Forward" />
                <Action>
                    WMPlayer.FastForward()
                </Action>
            </Macro>
            <Macro Name="Rewind">
                <Event Name="MceRemote.Rewind" />
                <Action>
                    WMPlayer.FastRewind()
                </Action>
            </Macro>
            <Macro Name="Volume Up">
                <Event Name="MceRemote.ChannelUp" />
                <Action>
                    WMPlayer.VolumeUp()
                </Action>
            </Macro>
            <Macro Name="Volume Down">
                <Event Name="MceRemote.ChannelDown" />
                <Action>
                    WMPlayer.VolumeDown()
                </Action>
            </Macro>
            <Macro Name="Toggle Shuffle">
                <Event Name="MceRemote.Green" />
                <Action>
                    WMPlayer.ToggleShuffle()
                </Action>
            </Macro>
            <Macro Name="Toggle Repeat">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    WMPlayer.ToggleRepeat()
                </Action>
            </Macro>
            <Macro Name="Now Playing">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    WMPlayer.NowPlaying()
                </Action>
            </Macro>
            <Macro Name="Library">
                <Event Name="MceRemote.Guide" />
                <Action>
                    WMPlayer.Library()
                </Action>
            </Macro>
            <Macro Name="Fullscreen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    WMPlayer.Fullscreen()
                </Action>
            </Macro>
            <Macro Name="Exit">
                <Event Name="MceRemote.Red" />
                <Action>
                    WMPlayer.Exit()
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Internet Explorer" id="345" Enabled="False" Expanded="True">
            <Folder Name="Turn Off" id="346">
                <Macro Name="Disable: TestMultitap">
                    <Event Name="MceRemote.Pound" />
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(360))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(346))
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(353))
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(66))
                    </Action>
                </Macro>
            </Folder>
            <Folder Name="Turn On" id="353" Enabled="False">
                <Macro Name="Enable: TestMultitap" Expanded="True">
                    <Event Name="MceRemote.Pound" />
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(360))
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(346))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(353))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(66))
                    </Action>
                </Macro>
            </Folder>
            <Folder Name="TestMultitap" id="360">
                <Folder Name="SMS mode" Expanded="True">
                    <Macro Name="Multitap: SMS abc">
                        <Event Name="MceRemote.Num2" />
                        <Action>
                            Multitap.Key(u'SMS', [u'abc2', u'ABC2'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS def3">
                        <Event Name="MceRemote.Num3" />
                        <Action>
                            Multitap.Key(u'SMS', [u'def3', u'DEF3'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS ghi4">
                        <Event Name="MceRemote.Num4" />
                        <Action>
                            Multitap.Key(u'SMS', [u'ghi4', u'GHI4'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS jkl5" Expanded="True">
                        <Event Name="MceRemote.Num5" />
                        <Action>
                            Multitap.Key(u'SMS', [u'jkl5', u'JKL5'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS MNO6">
                        <Event Name="MceRemote.Num6" />
                        <Action>
                            Multitap.Key(u'SMS', [u'mno6', u'MNO6'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS PQRS7">
                        <Event Name="MceRemote.Num7" />
                        <Action>
                            Multitap.Key(u'SMS', [u'pqrs7', u'PQRS7'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS tuv8">
                        <Event Name="MceRemote.Num8" />
                        <Action>
                            Multitap.Key(u'SMS', [u'tuv8', u'TUV8'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS wxyz9">
                        <Event Name="MceRemote.Num9" />
                        <Action>
                            Multitap.Key(u'SMS', [u'wxyz9', u'WXYZ9'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS space 0">
                        <Event Name="MceRemote.Num0" />
                        <Action>
                            Multitap.Key(u'SMS', [u'0 ', u'0 '])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: Caps Lock">
                        <Event Name="MceRemote.Star" />
                        <Action>
                            Multitap.Shift()
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: Enter">
                        <Event Name="MceRemote.Enter" />
                        <Action>
                            Multitap.Enter()
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: Cancel">
                        <Event Name="MceRemote.Escape" />
                        <Action>
                            Multitap.Cancel()
                        </Action>
                    </Macro>
                    <Macro Name="Emulate Keystrokes: 1" Expanded="True">
                        <Event Name="MceRemote.Num1" />
                        <Action>
                            Window.SendKeys(u'1', False)
                        </Action>
                    </Macro>
                </Folder>
                <Folder Name="OUTPUT" Expanded="True">
                    <Macro Name="Show OSD: {eg.event.payload}" Expanded="True">
                        <Event Name="Multitap.SMS" />
                        <Action>
                            Window.FindWindow(None, None, None, None, None, None, None, None, None)
                        </Action>
                        <Action>
                            Window.BringToFront()
                        </Action>
                        <Action>
                            Window.SendKeys(u'{eg.event.payload}', False)
                        </Action>
                        <Action>
                            EventGhost.TriggerEvent(u'Task.Activated.iexplore', 0.0)
                        </Action>
                    </Macro>
                </Folder>
            </Folder>
            <Macro Name="Repeat -&gt; alt+arrow">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Alt+Left}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Skip -&gt; alt+arrow">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Alt+Right}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Full Screen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.Maximize()
                </Action>
            </Macro>
            <Macro Name="red -&gt; ctrl-">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Subtract}', False)
                </Action>
            </Macro>
            <Macro Name="green -&gt; ctrl+">
                <Event Name="MceRemote.Green" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Add}', False)
                </Action>
            </Macro>
            <Macro Name="ChannelUp -&gt; Plus">
                <Event Name="ChannelUp" />
                <Action>
                    Window.SendKeys(u'{PageUp}{PageUp}', False)
                </Action>
                <Action>
                    Mouse.MouseWheel(4)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="ChannelDown -&gt; Minus">
                <Event Name="ChannelDown" />
                <Action>
                    Window.SendKeys(u'{PageDown}', False)
                </Action>
                <Action>
                    Mouse.MouseWheel(-4)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Stop -&gt; Ctrl+N">
                <Event Name="MceRemote.Stop" />
                <Action>
                    Window.SendKeys(u'{Ctrl+N}', False)
                </Action>
            </Macro>
            <Macro Name="Clear">
                <Event Name="MceRemote.Escape" />
                <Action>
                    Window.SendKeys(u'{Escape}', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
            <Macro Name="blue -&gt; Favs">
                <Event Name="MceRemote.Blue" />
                <Event Name="MceRemote.Pound" />
                <Action>
                    Window.SendKeys(u'{Alt+c}', False)
                </Action>
            </Macro>
            <Macro Name="Rewind -&gt; Shift+Tabulator">
                <Event Name="Rewind" />
                <Action>
                    Window.SendKeys(u'{Shift+Tab}')
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Forward -&gt; Tabulator">
                <Event Name="Forward" />
                <Action>
                    Window.SendKeys(u'{Tab}')
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Folder Name="Info">
                <Macro Name="info -&gt; alt+tab+tab+tab" id="457">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(467))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(457))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab+tab" id="462" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(457))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(462))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab" id="467" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(462))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(467))
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Start Program: SageTV" Expanded="True">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    System.Execute(u'C:\\Program Files (x86)\\SageTV\\SageTV\\SageTV.exe', u'', 2, False, 2, u'', False)
                </Action>
                <Action>
                    Window.FindWindow(u'SageTV.exe', None, None, None, None, None, False, 10.0, 0)
                </Action>
                <Action>
                    Window.BringToFront()
                </Action>
                <Action>
                    EventGhost.Wait(1.0)
                </Action>
                <Action>
                    Window.SendKeys(u'{F7}', False)
                </Action>
            </Macro>
            <Macro Name="Start Program: Netflix TX Viewer">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    Window.SendKeys(u'{Win}', False)
                </Action>
                <Action>
                    System.Execute(u'D:\\NetFlix\\Netflix TX Desktop.exe', u'', 0, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Keyboard Emulation" id="487">
            <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="Skip -&gt; alt+arrow">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Alt+Right}', False)
                </Action>
            </Macro>
            <Folder Name="Info">
                <Macro Name="info -&gt; alt+tab+tab+tab" id="498">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(508))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(498))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab+tab" id="503" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(498))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(503))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab" id="508" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(503))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(508))
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Repeat -&gt; alt+arrow" Expanded="True">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Alt+Left}', False)
                </Action>
            </Macro>
            <Macro Name="ChannelUp -&gt; Plus">
                <Event Name="ChannelUp" />
                <Action>
                    Window.SendKeys(u'+', False)
                </Action>
            </Macro>
            <Macro Name="ChannelDown -&gt; Minus">
                <Event Name="ChannelDown" />
                <Action>
                    Window.SendKeys(u'-', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
            <Macro Name="Start Program: SageTV">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    System.Execute(u'C:\\Program Files (x86)\\SageTV\\SageTV\\SageTV.exe', u'', 2, False, 2, u'', False)
                </Action>
                <Action>
                    Window.FindWindow(u'SageTV.exe', None, None, None, None, None, False, 10.0, 0)
                </Action>
                <Action>
                    Window.BringToFront()
                </Action>
                <Action>
                    EventGhost.Wait(1.0)
                </Action>
                <Action>
                    Window.SendKeys(u'{F7}', False)
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Open Folder: recordings">
                <Event Name="MceRemote.Recorded_TV" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "d:\\my documents\\recordings"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Open Folder: My videos">
                <Event Name="MceRemote.Guide" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "d:\\my documents\\my videos"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Start Program: HuluDesktop.exe">
                <Event Name="MceRemote.Green" />
                <Action>
                    System.Execute(u'C:\\Documents and Settings\\Television\\Local Settings\\Application Data\\HuluDesktop\\HuluDesktop.exe', u'', 2, False, 4, u'')
                </Action>
            </Macro>
            <Macro Name="Start Program: Netflix TX Viewer" Expanded="True">
                <Event Name="MceRemote.Yellow" />
                <Action Enabled="False">
                    Window.SendKeys(u'{Win}', False)
                </Action>
                <Action>
                    System.Execute(u'D:\\NetFlix\\Netflix TX Desktop.exe', u'', 0, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Full Screen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.Maximize()
                </Action>
            </Macro>
            <Macro Name="Emulate Keystrokes: {Delete}">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Delete}', False)
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="VLC" id="558" Enabled="False">
            <Macro Name="Forward -&gt; Tabulator">
                <Event Name="Forward" />
                <Action>
                    Window.SendKeys(u']', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 2.0)
                </Action>
            </Macro>
            <Macro Name="Rewind -&gt; Shift+Tabulator">
                <Event Name="Rewind" />
                <Action>
                    Window.SendKeys(u'{Shift+Left}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 2.0)
                </Action>
            </Macro>
            <Macro Name="Skip -&gt; alt+arrow">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Right}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 2.0)
                </Action>
            </Macro>
            <Folder Name="Info">
                <Macro Name="info -&gt; alt+tab+tab+tab" id="572" Enabled="False" Expanded="True">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(582))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(572))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab+tab" id="577">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(572))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(577))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab" id="582" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(577))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(582))
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Repeat -&gt; alt+arrow">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Left}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.10000000000000001, 2.0)
                </Action>
            </Macro>
            <Macro Name="Stop -&gt; s">
                <Event Name="MceRemote.Stop" />
                <Action>
                    Window.SendKeys(u's', False)
                </Action>
            </Macro>
            <Macro Name="Channel Up -&gt; k (audio delay up)" Expanded="True">
                <Event Name="MceRemote.ChannelUp" />
                <Action>
                    Window.SendKeys(u'k', False)
                </Action>
            </Macro>
            <Macro Name="Channel Down -&gt; j (audio delay down)" Expanded="True">
                <Event Name="MceRemote.ChannelDown" />
                <Action>
                    Window.SendKeys(u'j', False)
                </Action>
            </Macro>
            <Macro Name="Blue -&gt; a (change aspect)">
                <Event Name="MceRemote.Blue" />
                <Event Name="MceRemote.Pound" />
                <Action>
                    Window.SendKeys(u'a', False)
                </Action>
            </Macro>
            <Macro Name="Yellow -&gt; v (change subs)" Expanded="True">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    Window.SendKeys(u'v', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
                <Action>
                    Window.SendKeys(u'=', False)
                </Action>
                <Action>
                    Window.SendKeys(u't', False)
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space" Expanded="True">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
                <Action>
                    Window.SendKeys(u't', False)
                </Action>
            </Macro>
            <Macro Name="Full Screen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.SendKeys(u'{F}', False)
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Q}', False)
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Nero" id="622" Enabled="False">
            <Macro Name="FF">
                <Event Name="MceRemote.Forward" />
                <Action>
                    Window.SendKeys(u'{PageDown}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="RW">
                <Event Name="MceRemote.Rewind" />
                <Action>
                    Window.SendKeys(u'{PageUp}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="Skip">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'n', False)
                </Action>
            </Macro>
            <Macro Name="Stop">
                <Event Name="MceRemote.Stop" />
                <Action>
                    Window.SendKeys(u's', False)
                </Action>
            </Macro>
            <Macro Name="Back">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'p', False)
                </Action>
            </Macro>
            <Macro Name="Playlist">
                <Event Name="MceRemote.Guide" />
                <Action>
                    Window.SendKeys(u'{Ctrl+o}', False)
                </Action>
            </Macro>
            <Macro Name="Fullscreen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.SendKeys(u'z', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Start Program: Nero">
                <Event Name="MceRemote.DVDMenu" />
                <Action>
                    System.Execute(u'C:\\Program Files\\Nero\\Nero 7\\Nero ShowTime\\ShowTime.exe', u'', 0, False, 2, u'')
                </Action>
                <Action>
                    Window.BringToFront()
                </Action>
            </Macro>
            <Folder Name="Info">
                <Macro Name="info -&gt; alt+tab+tab+tab" id="657" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(667))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(657))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab+tab" id="662">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(657))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(662))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab" id="667" Enabled="False" Expanded="True">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(662))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(667))
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Quicktime" id="676" Enabled="False">
            <Macro Name="Fullscreen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.SendKeys(u'{Ctrl+f}', False)
                </Action>
            </Macro>
            <Macro Name="Rewind">
                <Event Name="MceRemote.Rewind" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Left}', False)
                </Action>
            </Macro>
            <Macro Name="ChannelUp -&gt; Plus">
                <Event Name="ChannelUp" />
                <Action>
                    Window.SendKeys(u'+', False)
                </Action>
            </Macro>
            <Macro Name="ChannelDown -&gt; Minus">
                <Event Name="ChannelDown" />
                <Action>
                    Window.SendKeys(u'-', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space" Expanded="True">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Netflix" id="699" Enabled="False">
            <Macro Name="Guide">
                <Event Name="MceRemote.Guide" />
                <Action>
                    Window.SendKeys(u'{Ctrl+o}', False)
                </Action>
            </Macro>
            <Macro Name="Recordings">
                <Event Name="MceRemote.Recorded_TV" />
                <Action>
                    Window.SendKeys(u'{Ctrl+s}', False)
                </Action>
            </Macro>
            <Macro Name="Ch up">
                <Event Name="MceRemote.ChannelUp" />
                <Action>
                    Window.SendKeys(u'{pageup}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Ch Down" Expanded="True">
                <Event Name="MceRemote.ChannelDown" />
                <Action>
                    Window.SendKeys(u'{pagedown}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Enter">
                <Event Name="MceRemote.Enter" />
                <Action>
                    Window.SendKeys(u'{Enter}', False)
                </Action>
            </Macro>
            <Macro Name="Play">
                <Event Name="MceRemote.Play" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Info">
                <Event Name="MceRemote.Details" />
                <Action>
                    Window.SendKeys(u'{F10}', False)
                </Action>
            </Macro>
            <Macro Name="Replay">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Shift+Tabulator}', False)
                </Action>
            </Macro>
            <Macro Name="FF">
                <Event Name="MceRemote.Forward" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Right}', False)
                </Action>
            </Macro>
            <Macro Name="Skip FF">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Tabulator}', False)
                </Action>
            </Macro>
            <Macro Name="RW">
                <Event Name="MceRemote.Rewind" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Left}', False)
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Yellow" Expanded="True">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Y}', False)
                </Action>
            </Macro>
            <Macro Name="Trailers">
                <Event Name="MceRemote.Record" />
                <Action>
                    Window.SendKeys(u'{Ctrl+T}', False)
                </Action>
            </Macro>
            <Macro Name="DVD Queue">
                <Event Name="MceRemote.DVDMenu" />
                <Action>
                    Window.SendKeys(u'{Ctrl+D}', False)
                </Action>
            </Macro>
            <Macro Name="Instant Queue">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    Window.SendKeys(u'{Ctrl+I}', False)
                </Action>
            </Macro>
            <Macro Name="Green" Expanded="True">
                <Event Name="MceRemote.Green" />
                <Action>
                    Window.SendKeys(u'{Ctrl+G}', False)
                </Action>
            </Macro>
            <Macro Name="Red" Expanded="True">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Ctrl+R}', False)
                </Action>
            </Macro>
            <Macro Name="Blue">
                <Event Name="MceRemote.Blue" />
                <Event Name="MceRemote.Pound" />
                <Action Name="Emulate Keystrokes: {Ctrl+B}">
                    Window.SendKeys(u'{Ctrl+B}', False)
                </Action>
            </Macro>
            <Macro Name="Aspect">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    EventGhost.JumpIfLongPress(1.0, XmlIdLink(764))
                </Action>
                <Action>
                    Window.SendKeys(u'{F}', False)
                </Action>
            </Macro>
            <Macro Name="Aspect Hold Ctrl-Shift-F" id="764" Expanded="True">
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+F}', False)
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="SageTV" id="770" Enabled="False">
            <Macro Name="Guide">
                <Event Name="MceRemote.Guide" />
                <Action>
                    Window.SendKeys(u'{Ctrl+x}', False)
                </Action>
            </Macro>
            <Macro Name="Recordings">
                <Event Name="MceRemote.Recorded_TV" />
                <Action>
                    Window.SendKeys(u'{F8}', False)
                </Action>
            </Macro>
            <Macro Name="LiveTV">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    Window.SendKeys(u'{Ctrl+v}', False)
                </Action>
            </Macro>
            <Macro Name="Home">
                <Event Name="MceRemote.Back" />
                <Action>
                    Window.SendKeys(u'{Home}', False)
                </Action>
            </Macro>
            <Macro Name="Ch up">
                <Event Name="MceRemote.ChannelUp" />
                <Action>
                    Window.SendKeys(u'{pageup}', False)
                </Action>
            </Macro>
            <Macro Name="Ch Down">
                <Event Name="MceRemote.ChannelDown" />
                <Action>
                    Window.SendKeys(u'{pagedown}', False)
                </Action>
            </Macro>
            <Macro Name="Rec" Expanded="True">
                <Event Name="MceRemote.Record" />
                <Action>
                    Window.SendKeys(u'{Ctrl+y}', False)
                </Action>
            </Macro>
            <Macro Name="Stop">
                <Event Name="MceRemote.Stop" />
                <Action>
                    Window.SendKeys(u'{Ctrl+g}', False)
                </Action>
            </Macro>
            <Macro Name="FF">
                <Event Name="MceRemote.Forward" />
                <Action>
                    Window.SendKeys(u'{Ctrl+f}', False)
                </Action>
            </Macro>
            <Macro Name="Enter">
                <Event Name="MceRemote.Enter" />
                <Action>
                    Window.SendKeys(u'{Enter}', False)
                </Action>
            </Macro>
            <Macro Name="Play">
                <Event Name="MceRemote.Play" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+s}', False)
                </Action>
            </Macro>
            <Macro Name="Replay">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Ctrl+F7}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="Skip FF">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Ctrl+F8}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="RW">
                <Event Name="MceRemote.Rewind" />
                <Action>
                    Window.SendKeys(u'{Ctrl+a}', False)
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+s}', False)
                </Action>
            </Macro>
            <Macro Name="Green">
                <Event Name="MceRemote.Green" />
                <Action>
                    Window.SendKeys(u'{Ctrl+k}', False)
                </Action>
            </Macro>
            <Macro Name="Red">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Ctrl+t}', False)
                </Action>
                <Action>
                    Window.SendKeys(u'{Ctrl+F7}', False)
                </Action>
                <Action>
                    Window.SendKeys(u'{Ctrl+t}', False)
                </Action>
            </Macro>
            <Macro Name="Blue" Expanded="True">
                <Event Name="MceRemote.Blue" />
                <Event Name="MceRemote.Pound" />
                <Action>
                    SageTV.AspectRatioToggle()
                </Action>
            </Macro>
            <Macro Name="Yellow">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Y}', False)
                </Action>
            </Macro>
            <Macro Name="Aspect">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+f}', False)
                </Action>
            </Macro>
            <Macro Name="Info">
                <Event Name="MceRemote.Details" />
                <Action>
                    Window.SendKeys(u'{Ctrl+i}', False)
                </Action>
            </Macro>
            <Macro Name="#=Prev Chan">
                <Event Name="MceRemote.Pound" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+p}', False)
                </Action>
            </Macro>
            <Macro Name="* = video info">
                <Event Name="MceRemote.Star" />
            </Macro>
            <Macro Name="Power" Expanded="True">
                <Event Name="MceRemote.Power" />
                <Action>
                    Window.SendKeys(u'{F11}', False)
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}', False)
                </Action>
            </Macro>
            <Macro Name="Clear">
                <Event Name="MceRemote.Escape" />
                <Action>
                    Window.SendKeys(u'{Escape}', False)
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Hulu" id="851" Enabled="False">
            <Macro Name="Forward -&gt; Tabulator" Expanded="True">
                <Event Name="Forward" />
                <Action>
                    EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(39,0,0,0)')
                </Action>
            </Macro>
            <Macro Name="Rewind -&gt; Shift+Tabulator" Expanded="True">
                <Event Name="Rewind" />
                <Action>
                    EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(37,0,0,0)')
                </Action>
            </Macro>
            <Macro Name="Skip -&gt; alt+arrow">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Alt+Right}', False)
                </Action>
            </Macro>
            <Folder Name="Info">
                <Macro Name="info -&gt; alt+tab+tab+tab" id="862" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(872))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(862))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab+tab" id="867">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(862))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(867))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab" id="872" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(867))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(872))
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Repeat -&gt; alt+arrow">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Alt+Left}', False)
                </Action>
            </Macro>
            <Macro Name="ChannelUp -&gt; Plus">
                <Event Name="ChannelUp" />
                <Action>
                    Window.SendKeys(u'+', False)
                </Action>
            </Macro>
            <Macro Name="ChannelDown -&gt; Minus">
                <Event Name="ChannelDown" />
                <Action>
                    Window.SendKeys(u'-', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Start Program: SageTV">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    System.Execute(u'C:\\Program Files\\SageTV\\SageTV\\SageTV.exe', u'', 2, False, 2, u'')
                </Action>
                <Action>
                    Window.FindWindow(u'SageTV.exe', None, None, None, None, None, False, 10.0, 0)
                </Action>
                <Action>
                    Window.BringToFront()
                </Action>
                <Action>
                    EventGhost.Wait(1.0)
                </Action>
                <Action>
                    Window.SendKeys(u'{F7}', False)
                </Action>
            </Macro>
            <Macro Name="Open Folder: DVDFab">
                <Event Name="MceRemote.DVDMenu" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "D:\\My Documents\\DVDFab"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Open Folder: recordings">
                <Event Name="MceRemote.Recorded_TV" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "d:\\my documents\\recordings"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Open Folder: My videos">
                <Event Name="MceRemote.Guide" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "d:\\my documents\\my videos"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Start Program: HuluDesktop.exe">
                <Event Name="MceRemote.Green" />
                <Action>
                    System.Execute(u'C:\\Documents and Settings\\Television\\Local Settings\\Application Data\\HuluDesktop\\HuluDesktop.exe', u'', 2, False, 4, u'')
                </Action>
            </Macro>
            <Macro Name="Start Program: Netflix TX Viewer">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    Window.SendKeys(u'{Win}', False)
                </Action>
                <Action>
                    System.Execute(u'D:\\NetFlix\\Netflix TX Desktop.exe', u'', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Full Screen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.Maximize()
                </Action>
            </Macro>
            <Macro Name="Emulate Keystrokes: {Delete}">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Delete}', False)
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="DVDFAB" id="925" Enabled="False" Expanded="True">
            <Macro Name="Forward -&gt; Tabulator">
                <Event Name="Forward" />
                <Action>
                    Window.SendKeys(u'{Tab}')
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="Rewind -&gt; Shift+Tabulator" Expanded="True">
                <Event Name="Rewind" />
                <Action>
                    Window.SendKeys(u'{Shift+Tab}')
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="Skip -&gt; alt+arrow">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Alt+F4}', False)
                </Action>
            </Macro>
            <Folder Name="Info">
                <Macro Name="info -&gt; alt+tab+tab+tab" id="938" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(948))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(938))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab+tab" id="943" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(938))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(943))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab" id="948">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(943))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(948))
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Repeat -&gt; alt+arrow">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Alt+Left}', False)
                </Action>
            </Macro>
            <Macro Name="Power" Expanded="True">
                <Event Name="MceRemote.Power" />
                <Action>
                    Window.Close()
                </Action>
                <Action>
                    System.Execute(u'C:\\Program Files\\PsTools\\pskill.exe', u'dvdfab.exe', 0, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="ChannelUp -&gt; Plus" Expanded="True">
                <Event Name="ChannelUp" />
                <Action>
                    Window.SendKeys(u'+', False)
                </Action>
            </Macro>
            <Macro Name="ChannelDown -&gt; Minus">
                <Event Name="ChannelDown" />
                <Action>
                    Window.SendKeys(u'-', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Start Program: SageTV">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    System.Execute(u'C:\\Program Files\\SageTV\\SageTV\\SageTV.exe', u'', 2, False, 2, u'')
                </Action>
                <Action>
                    Window.FindWindow(u'SageTV.exe', None, None, None, None, None, False, 10.0, 0)
                </Action>
                <Action>
                    Window.BringToFront()
                </Action>
                <Action>
                    EventGhost.Wait(1.0)
                </Action>
                <Action>
                    Window.SendKeys(u'{F7}', False)
                </Action>
            </Macro>
            <Macro Name="Open Folder: DVDFab">
                <Event Name="MceRemote.DVDMenu" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "D:\\My Documents\\DVDFab"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Open Folder: recordings">
                <Event Name="MceRemote.Recorded_TV" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "d:\\my documents\\recordings"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Open Folder: My videos">
                <Event Name="MceRemote.Guide" />
                <Action>
                    System.Execute(u'C:\\WINDOWS\\explorer.exe', u'/root, "d:\\my documents\\my videos"', 2, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Start Program: HuluDesktop.exe">
                <Event Name="MceRemote.Green" />
                <Action>
                    System.Execute(u'C:\\Documents and Settings\\Television\\Local Settings\\Application Data\\HuluDesktop\\HuluDesktop.exe', u'', 2, False, 4, u'')
                </Action>
            </Macro>
            <Macro Name="Start Program: Netflix TX Viewer">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    System.Execute(u'D:\\NetFlix\\Netflix TX Desktop.exe', u'', 0, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Full Screen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.Maximize()
                </Action>
            </Macro>
            <Macro Name="Emulate Keystrokes: {Delete}">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Delete}', False)
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Chrome" id="1000" Enabled="False" Expanded="True">
            <Folder Name="Turn Off" id="1001">
                <Macro Name="Disable: TestMultitap">
                    <Event Name="MceRemote.Pound" />
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(1015))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(1001))
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(1008))
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(66))
                    </Action>
                </Macro>
            </Folder>
            <Folder Name="Turn On" id="1008" Enabled="False">
                <Macro Name="Enable: TestMultitap" Expanded="True">
                    <Event Name="MceRemote.Pound" />
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(1015))
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(1001))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(1008))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(66))
                    </Action>
                </Macro>
            </Folder>
            <Folder Name="TestMultitap" id="1015">
                <Folder Name="SMS mode" Expanded="True">
                    <Macro Name="Multitap: SMS abc">
                        <Event Name="MceRemote.Num2" />
                        <Action>
                            Multitap.Key(u'SMS', [u'abc2', u'ABC2'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS def3">
                        <Event Name="MceRemote.Num3" />
                        <Action>
                            Multitap.Key(u'SMS', [u'def3', u'DEF3'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS ghi4">
                        <Event Name="MceRemote.Num4" />
                        <Action>
                            Multitap.Key(u'SMS', [u'ghi4', u'GHI4'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS jkl5" Expanded="True">
                        <Event Name="MceRemote.Num5" />
                        <Action>
                            Multitap.Key(u'SMS', [u'jkl5', u'JKL5'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS MNO6">
                        <Event Name="MceRemote.Num6" />
                        <Action>
                            Multitap.Key(u'SMS', [u'mno6', u'MNO6'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS PQRS7">
                        <Event Name="MceRemote.Num7" />
                        <Action>
                            Multitap.Key(u'SMS', [u'pqrs7', u'PQRS7'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS tuv8">
                        <Event Name="MceRemote.Num8" />
                        <Action>
                            Multitap.Key(u'SMS', [u'tuv8', u'TUV8'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS wxyz9">
                        <Event Name="MceRemote.Num9" />
                        <Action>
                            Multitap.Key(u'SMS', [u'wxyz9', u'WXYZ9'])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: SMS space 0">
                        <Event Name="MceRemote.Num0" />
                        <Action>
                            Multitap.Key(u'SMS', [u'0 ', u'0 '])
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: Caps Lock">
                        <Event Name="MceRemote.Star" />
                        <Action>
                            Multitap.Shift()
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: Enter">
                        <Event Name="MceRemote.Enter" />
                        <Action>
                            Multitap.Enter()
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: Cancel">
                        <Event Name="MceRemote.Escape" />
                        <Action>
                            Multitap.Cancel()
                        </Action>
                    </Macro>
                    <Macro Name="Emulate Keystrokes: 1" Expanded="True">
                        <Event Name="MceRemote.Num1" />
                        <Action>
                            Window.SendKeys(u'1', False)
                        </Action>
                    </Macro>
                </Folder>
                <Folder Name="OUTPUT" Expanded="True">
                    <Macro Name="Show OSD: {eg.event.payload}" Expanded="True">
                        <Event Name="Multitap.SMS" />
                        <Action>
                            Window.FindWindow(None, None, None, None, None, None, None, None, None)
                        </Action>
                        <Action>
                            Window.BringToFront()
                        </Action>
                        <Action>
                            Window.SendKeys(u'{eg.event.payload}', False)
                        </Action>
                        <Action>
                            EventGhost.TriggerEvent(u'Task.Activated.iexplore', 0.0)
                        </Action>
                    </Macro>
                </Folder>
            </Folder>
            <Macro Name="Repeat -&gt; alt+arrow">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Alt+Left}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Skip -&gt; alt+arrow">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Alt+Right}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Full Screen">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.Maximize()
                </Action>
            </Macro>
            <Macro Name="red -&gt; ctrl-">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Subtract}', False)
                </Action>
            </Macro>
            <Macro Name="green -&gt; ctrl+">
                <Event Name="MceRemote.Green" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Add}', False)
                </Action>
            </Macro>
            <Macro Name="ChannelUp -&gt; Plus">
                <Event Name="ChannelUp" />
                <Action>
                    Window.SendKeys(u'{PageUp}{PageUp}', False)
                </Action>
                <Action>
                    Mouse.MouseWheel(4)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="ChannelDown -&gt; Minus">
                <Event Name="ChannelDown" />
                <Action>
                    Window.SendKeys(u'{PageDown}', False)
                </Action>
                <Action>
                    Mouse.MouseWheel(-4)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Stop -&gt; Ctrl+N" Expanded="True">
                <Event Name="MceRemote.Stop" />
                <Action>
                    Window.SendKeys(u'{Ctrl+F4}', False)
                </Action>
            </Macro>
            <Macro Name="Clear">
                <Event Name="MceRemote.Escape" />
                <Action>
                    Window.SendKeys(u'{Escape}', False)
                </Action>
            </Macro>
            <Macro Name="Play -&gt; Space">
                <Event Name="Play" />
                <Action>
                    Window.SendKeys(u'{Space}')
                </Action>
            </Macro>
            <Macro Name="blue -&gt; Favs" Expanded="True">
                <Event Name="MceRemote.Blue" />
                <Event Name="MceRemote.Pound" />
                <Action>
                    Window.SendKeys(u'{Alt+c}', False)
                </Action>
            </Macro>
            <Macro Name="Rewind -&gt; Shift+Tabulator" Expanded="True">
                <Event Name="Rewind" />
                <Action>
                    Window.SendKeys(u'{Shift+Tab}')
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Forward -&gt; Tabulator">
                <Event Name="Forward" />
                <Action>
                    Window.SendKeys(u'{Tab}')
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Folder Name="Info">
                <Macro Name="info -&gt; alt+tab+tab+tab" id="1112" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(1122))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(1112))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab+tab" id="1117" Enabled="False">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(1112))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(1117))
                    </Action>
                </Macro>
                <Macro Name="info -&gt; alt+tab" id="1122">
                    <Event Name="MceRemote.Details" />
                    <Action>
                        Window.SendKeys(u'{Alt+Tab}', False)
                    </Action>
                    <Action>
                        EventGhost.EnableItem(XmlIdLink(1117))
                    </Action>
                    <Action>
                        EventGhost.DisableItem(XmlIdLink(1122))
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Start Program: SageTV">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    System.Execute(u'C:\\Program Files\\SageTV\\SageTV\\SageTV.exe', u'', 2, False, 2, u'')
                </Action>
                <Action>
                    Window.FindWindow(u'SageTV.exe', None, None, None, None, None, False, 10.0, 0)
                </Action>
                <Action>
                    Window.BringToFront()
                </Action>
                <Action>
                    EventGhost.Wait(1.0)
                </Action>
                <Action>
                    Window.SendKeys(u'{F7}', False)
                </Action>
            </Macro>
            <Macro Name="Start Program: Netflix TX Viewer">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    Window.SendKeys(u'{Win}', False)
                </Action>
                <Action>
                    System.Execute(u'D:\\NetFlix\\Netflix TX Desktop.exe', u'', 0, False, 2, u'')
                </Action>
            </Macro>
            <Macro Name="Power -&gt; Alt+F4">
                <Event Name="Power" />
                <Action>
                    EventGhost.JumpIfLongPress(3.0, XmlIdLink(193))
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="NPVR" Enabled="False">
            <Macro Name="Guide">
                <Event Name="MceRemote.Guide" />
                <Action>
                    Window.SendKeys(u'{Ctrl+x}', False)
                </Action>
            </Macro>
            <Macro Name="Recordings">
                <Event Name="MceRemote.Recorded_TV" />
                <Action>
                    Window.SendKeys(u'{F8}', False)
                </Action>
            </Macro>
            <Macro Name="LiveTV" Expanded="True">
                <Event Name="MceRemote.LiveTV" />
                <Action>
                    Window.SendKeys(u'{Ctrl+v}', False)
                </Action>
            </Macro>
            <Macro Name="Home">
                <Event Name="MceRemote.Back" />
                <Action>
                    Window.SendKeys(u'{Escape}', False)
                </Action>
            </Macro>
            <Macro Name="Ch up">
                <Event Name="MceRemote.ChannelUp" />
                <Action>
                    Window.SendKeys(u'{pageup}', False)
                </Action>
            </Macro>
            <Macro Name="Ch Down">
                <Event Name="MceRemote.ChannelDown" />
                <Action>
                    Window.SendKeys(u'{pagedown}', False)
                </Action>
            </Macro>
            <Macro Name="Rec" Expanded="True">
                <Event Name="MceRemote.Record" />
                <Action>
                    Window.SendKeys(u'{Ctrl+y}', False)
                </Action>
            </Macro>
            <Macro Name="Stop">
                <Event Name="MceRemote.Stop" />
                <Action>
                    Window.SendKeys(u'{Ctrl+g}', False)
                </Action>
            </Macro>
            <Macro Name="FF" Expanded="True">
                <Event Name="MceRemote.Forward" />
                <Action>
                    Window.SendKeys(u'{Ctrl+f}', False)
                </Action>
            </Macro>
            <Macro Name="Enter">
                <Event Name="MceRemote.Enter" />
                <Action>
                    Window.SendKeys(u'{Enter}', False)
                </Action>
            </Macro>
            <Macro Name="Play">
                <Event Name="MceRemote.Play" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+s}', False)
                </Action>
            </Macro>
            <Macro Name="Replay" Expanded="True">
                <Event Name="MceRemote.Replay" />
                <Action>
                    Window.SendKeys(u'{Ctrl+F7}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="Skip FF" Expanded="True">
                <Event Name="MceRemote.Skip" />
                <Action>
                    Window.SendKeys(u'{Ctrl+F8}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.29999999999999999, 3.0)
                </Action>
            </Macro>
            <Macro Name="RW">
                <Event Name="MceRemote.Rewind" />
                <Action>
                    Window.SendKeys(u'{Ctrl+a}', False)
                </Action>
            </Macro>
            <Macro Name="Pause -&gt; Space" Expanded="True">
                <Event Name="Pause" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+s}', False)
                </Action>
            </Macro>
            <Macro Name="Green" Expanded="True">
                <Event Name="MceRemote.Green" />
                <Action>
                    Window.SendKeys(u'{Ctrl+k}', False)
                </Action>
            </Macro>
            <Macro Name="Red" Expanded="True">
                <Event Name="MceRemote.Red" />
                <Action>
                    Window.SendKeys(u'{Ctrl+t}', False)
                </Action>
                <Action>
                    Window.SendKeys(u'{Ctrl+F7}', False)
                </Action>
                <Action>
                    Window.SendKeys(u'{Ctrl+t}', False)
                </Action>
            </Macro>
            <Macro Name="Blue" Expanded="True">
                <Event Name="MceRemote.Blue" />
                <Action>
                    Window.SendKeys(u'{F7}', False)
                </Action>
            </Macro>
            <Macro Name="Yellow">
                <Event Name="MceRemote.Yellow" />
                <Action>
                    Window.SendKeys(u'{Ctrl+Y}', False)
                </Action>
            </Macro>
            <Macro Name="Aspect">
                <Event Name="MceRemote.Teletext" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+f}', False)
                </Action>
            </Macro>
            <Macro Name="Info">
                <Event Name="MceRemote.Details" />
                <Action>
                    Window.SendKeys(u'{Ctrl+i}', False)
                </Action>
            </Macro>
            <Macro Name="#=Prev Chan">
                <Event Name="MceRemote.Pound" />
                <Action>
                    Window.SendKeys(u'{Shift+Ctrl+p}', False)
                </Action>
            </Macro>
            <Macro Name="* = video info">
                <Event Name="MceRemote.Star" />
            </Macro>
            <Macro Name="Power" Expanded="True">
                <Event Name="MceRemote.Power" />
                <Action>
                    Window.SendKeys(u'{F11}', False)
                </Action>
                <Action>
                    Window.SendKeys(u'{Alt+F4}', False)
                </Action>
            </Macro>
            <Macro Name="Clear">
                <Event Name="MceRemote.Escape" />
                <Action>
                    Window.SendKeys(u'{Escape}', False)
                </Action>
            </Macro>
        </Folder>
    </Folder>
</EventGhost>
