<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Name="Configuratie Boom" Expanded="True" Version="1486" Guid="{D162DF1A-05A1-4913-897F-684D5B78EA4C}" Time="1301249733.75">
    <Autostart Name="Automatisch Starten" Expanded="True">
        <Plugin File="Conceptronic" Identifier="Conceptronic">
            gAIpLg==
        </Plugin>
        <Plugin File="MediaPortal" Identifier="MediaPortal">
            gAIpLg==
        </Plugin>
        <Plugin File="Task" Identifier="Task">
            gAIpLg==
        </Plugin>
        <Plugin Enabled="False" File="Serial" Identifier="Serial">
            gAIoSwBNgCVLA0sASwBLAIlYAgAAAFxycQBYBgAAAFNlcmlhbHEBSwB0cQIu
        </Plugin>
        <Plugin File="Multitap" Identifier="Multitap">
            gAJdcQAoXXEBKFgDAAAAU01TcQJYAwAAAFNNU3EDiEc/8AAAAAAAAEsAiEsAZV1xBChYAwAAAE5VTXEFWAMAAABOVU1xBohHP/gAAAAAAABLAohLAGVlhXEHLg==
        </Plugin>
        <Plugin File="Keyboard" Identifier="Keyboard">
            gAIpLg==
        </Plugin>
        <Action Enabled="False">
            EventGhost.NewJumpIf(XmlIdLink(415), 2, True)
        </Action>
        <Action>
            EventGhost.NewJumpIf(XmlIdLink(897), 2, True)
        </Action>
        <Action>
            EventGhost.TriggerEvent(u'OpnameCheck', 10.0)
        </Action>
        <Action>
            EventGhost.PythonCommand(u'eg.globals.recording = 0; eg.globals.timeshifting = 0')
        </Action>
    </Autostart>
    <Macro Name="Switch to mode: MediaPortal">
        <Event Name="Task.Activated.MediaPortal" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(637))
        </Action>
    </Macro>
    <Macro Name="Switch to mode: Desktop">
        <Event Name="Task.Deactivated.MediaPortal" />
        <Event Name="Task.Deactivated.OperaMobile" />
        <Event Name="Task.Activated.Desktop" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(422))
        </Action>
    </Macro>
    <Macro Name="Switch to mode: Opera Mobile Browser">
        <Event Name="Task.Activated.OperaMobile" />
        <Action>
            EventGhost.EnableExclusive(XmlIdLink(810))
        </Action>
        <Action>
            Window.FindWindow(u'OperaMobile.exe', None, None, None, None, None, False, 0.0, 0)
        </Action>
        <Action>
            EventGhost.Wait(0.69999999999999996)
        </Action>
        <Action>
            Window.Maximize()
        </Action>
        <Action>
            Mouse.MoveAbsolute(1920, 540)
        </Action>
    </Macro>
    <Folder Name="Volume" Expanded="True">
        <Folder Name="Mute">
            <Macro Name="Mute Aan" id="31">
                <Event Name="Conceptronic.Mute" />
                <Event Name="Keyboard.VolumeMute" />
                <Action>
                    EventGhost.ShowOSD(u'MUTE', u'0;-29;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (255, 0, 0), (0, 0, 0), 6, (0, 20), 0, 0.0, False)
                </Action>
                <Action>
                    System.MuteOn(0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(37))
                </Action>
            </Macro>
            <Macro Name="Mute Uit" id="37" Enabled="False">
                <Event Name="Conceptronic.Mute" />
                <Event Name="Keyboard.VolumeMute" />
                <Action>
                    EventGhost.ShowOSD(u'MUTE', u'0;-29;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (255, 0, 0), (0, 0, 0), 6, (0, 20), 0, 0.01, False)
                </Action>
                <Action>
                    System.MuteOff(0)
                </Action>
                <Action>
                    System.PlaySound(u'C:\\ProgramData\\Team MediaPortal\\MediaPortal\\skin\\StreamedMP\\Sounds\\cursor.wav', 1)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(31))
                </Action>
                <Action>
                    EventGhost.NewJumpIf(XmlIdLink(897), 2, False)
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Volume Down">
            <Macro Name="0" id="46" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(0.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(198))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'                    ', u'0;-24;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (114, 131, 250), (44, 44, 44), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="5" id="52" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(5.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(46))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(204))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302                   ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="10" id="59" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(10.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(52))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(211))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302                  ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="15" id="66">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(15.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(59))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(218))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302                 ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="20" id="73" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(20.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(66))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(225))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302                ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="25" id="80" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(25.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(73))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(232))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302               ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="30" id="87" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(30.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(80))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(239))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302              ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="35" id="94" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(35.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(87))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(246))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302             ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="40" id="101" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(40.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(94))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(253))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302            ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="45" id="108" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(45.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(101))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(260))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302           ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="50" id="115" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(50.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(108))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(267))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302          ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="55" id="122" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(55.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(115))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(274))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302         ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="60" id="129" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(60.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(122))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(281))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302        ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="65" id="136" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(65.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(129))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(288))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302       ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="70" id="143" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(70.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(136))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(295))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302      ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="75" id="150" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(75.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(143))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(302))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302     ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="80" id="157" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(80.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(150))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(309))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302    ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="85" id="164" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(85.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(157))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(316))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302   ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="90" id="171" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(90.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(164))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(323))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302  ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="95" id="178" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(95.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(171))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(330))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302 ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="100" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Event Name="Keyboard.VolumeDown" />
                <Action>
                    System.SetMasterVolume(100.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(178))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (197, 224, 254), (87, 87, 87), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Volume Up">
            <Macro Name="0" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(0.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(198))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'', u'0;-24;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (114, 131, 250), (44, 44, 44), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="5" id="198" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(5.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(204))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302                   ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="10" id="204" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(10.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(211))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(52))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302                  ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="15" id="211" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(15.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(218))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(59))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302                 ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="20" id="218" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(20.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(225))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(66))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302                ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="25" id="225">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(25.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(232))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(73))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302               ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="30" id="232" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(30.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(239))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(80))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302              ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="35" id="239" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(35.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(246))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(87))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302             ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="40" id="246" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(40.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(253))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(94))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302            ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="45" id="253" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(45.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(260))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(101))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302           ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="50" id="260" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(50.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(267))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(108))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302          ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="55" id="267" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(55.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(274))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(115))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302         ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="60" id="274" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(60.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(281))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(122))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302        ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="65" id="281" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(65.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(288))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(129))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302       ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="70" id="288" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(70.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(295))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(136))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302      ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="75" id="295" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(75.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(302))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(143))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302     ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="80" id="302" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(80.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(309))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(150))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302    ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="85" id="309" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(85.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(316))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(157))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302   ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="90" id="316" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(90.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(323))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(164))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302  ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="95" id="323" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(95.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(330))
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(171))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302 ', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
            <Macro Name="100" id="330" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Event Name="Keyboard.VolumeUp" />
                <Action>
                    System.SetMasterVolume(100.0, 0)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(178))
                </Action>
                <Action>
                    EventGhost.ShowOSD(u'\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302\u2302', u'0;-24;0;0;0;700;0;0;0;2;3;2;1;18;Webdings', (176, 232, 253), (72, 72, 72), 6, (0, 20), 0, 1.0, False)
                </Action>
            </Macro>
        </Folder>
        <Macro Name="Geluid verandering">
            <Event Name="Conceptronic.VolumeUp" />
            <Event Name="Conceptronic.VolumeDown" />
            <Event Name="Keyboard.VolumeUp" />
            <Event Name="Keyboard.VolumeDown" />
            <Action>
                System.PlaySound(u'C:\\ProgramData\\Team MediaPortal\\MediaPortal\\skin\\StreamedMP\\Sounds\\cursor.wav', 1)
            </Action>
            <Action>
                System.MuteOff(0)
            </Action>
            <Action>
                EventGhost.EnableExclusive(XmlIdLink(31))
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Other" Expanded="True">
        <Folder Name="Power">
            <Macro Name="Enter Away Mode">
                <Event Name="System.AwayMode.Entering" />
                <Action>
                    EventGhost.ShowOSD(u'Away Mode', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
                </Action>
            </Macro>
            <Macro Name="Exit Away Mode">
                <Event Name="System.AwayMode.Exiting" />
                <Action>
                    EventGhost.ShowOSD(u'Exit Away mode', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
                </Action>
            </Macro>
            <Macro Name="Screen Off" Expanded="True" />
            <Macro Name="Screen On" Expanded="True" />
            <Macro Name="Idle" Enabled="False">
                <Event Name="System.Idle" />
                <Action>
                    EventGhost.ShowOSD(u'Idle', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 6, (0, 0), 0, 3.0, False)
                </Action>
            </Macro>
            <Macro Name="Toon OSD: Un-Idle" Enabled="False">
                <Action>
                    EventGhost.ShowOSD(u'Un-Idle', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 6, (0, 0), 0, 3.0, False)
                </Action>
                <Event Name="System.UnIdle" />
            </Macro>
            <Macro Name="Auto Suspend">
                <Event Name="System.Suspend" />
                <Action>
                    EventGhost.NewJumpIf(XmlIdLink(400), 2, True)
                </Action>
                <Action>
                    EventGhost.NewJumpIf(XmlIdLink(899), 2, False)
                </Action>
            </Macro>
        </Folder>
        <Macro Name="Go to StandBy" id="364" Enabled="False">
            <Action>
                MediaPortal.Stop()
            </Action>
            <Action Enabled="False">
                MediaPortal.Start()
            </Action>
            <Action>
                EventGhost.ShowOSD(u'Standby', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 4, (0, -130), 0, 2.0, False)
            </Action>
            <Action>
                EventGhost.Wait(1.0)
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(400), 2, True)
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(899), 2, True)
            </Action>
            <Action>
                EventGhost.FlushEvents()
            </Action>
            <Action>
                EventGhost.Wait(1.0)
            </Action>
            <Action>
                System.Standby(False)
            </Action>
        </Macro>
        <Macro Name="GreenButton">
            <Event Name="Conceptronic.Start" />
            <Action>
                Window.FindWindow(u'MediaPortal.exe', None, None, None, None, None, False, 0.0, 2)
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(394), 1, False)
            </Action>
            <Action>
                Window.FindWindow(u'MediaPortal.exe', None, None, None, None, None, False, 0.0, 2)
            </Action>
            <Action>
                Window.BringToFront()
            </Action>
            <Action>
                EventGhost.EnableExclusive(XmlIdLink(637))
            </Action>
        </Macro>
        <Macro Name="Wake-Up">
            <Event Name="System.ResumeAutomatic" />
            <Action>
                EventGhost.FlushEvents()
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(364))
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(897), 2, True)
            </Action>
            <Action>
                Window.FindWindow(u'MediaPortal.exe', None, None, None, None, None, True, 0.0, 2)
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(403), 0, True)
            </Action>
            <Action>
                System.MonitorPowerOn()
            </Action>
            <Action>
                EventGhost.Wait(1.0)
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(394), 2, True)
            </Action>
            <Action>
                EventGhost.PythonCommand(u'eg.globals.recThreads = 0')
            </Action>
            <Action>
                EventGhost.Wait(5.0)
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(364))
            </Action>
        </Macro>
        <Macro Name="Start MP" id="394">
            <Action>
                System.Execute(u'C:\\Program Files (x86)\\Team MediaPortal\\MediaPortal\\MediaPortal.exe', u'', 0, False, 2, u'')
            </Action>
            <Action>
                Window.FindWindow(u'MediaPortal.exe', None, None, None, None, None, False, 0.0, 2)
            </Action>
            <Action>
                Window.BringToFront()
            </Action>
            <Action>
                Window.FindWindow(None, u'FullScreenSplashScreen', None, None, None, 1, False, 0.0, 0)
            </Action>
            <Action>
                Window.BringToFront()
            </Action>
        </Macro>
        <Macro Name="Close MediaPortal" id="400">
            <Action>
                Window.FindWindow(u'MediaPortal.exe', None, None, None, None, None, False, 0.0, 0)
            </Action>
            <Action>
                Window.Close()
            </Action>
        </Macro>
        <Macro Name="Kill MediaPortal" id="403">
            <Action>
                EventGhost.PythonCommand(u"import os; os.popen('TASKKILL /F /IM MediaPortal.exe ')")
            </Action>
        </Macro>
        <Macro Name="Power button">
            <Event Name="Conceptronic.Power" />
            <Event Name="Keyboard.Sleep" />
            <Action>
                EventGhost.JumpIfLongPress(2.0, XmlIdLink(410))
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(364), 1, False)
            </Action>
        </Macro>
        <Macro Name="Close" id="410">
            <Action>
                Window.FindWindow(None, None, None, None, None, None, None, None, None)
            </Action>
            <Action>
                Window.Close()
            </Action>
        </Macro>
        <Macro Name="Flip 3D" id="413">
            <Action Name="Open Flip 3D">
                Window.SendKeys(u'{Ctrl+Win+Tab}', False)
            </Action>
        </Macro>
        <Macro Name="TV &gt; EXT5" id="415">
            <Action>
                Serial.Write(u'DCCH035 \\n')
            </Action>
            <Action>
                EventGhost.Wait(0.29999999999999999)
            </Action>
            <Action>
                Serial.Write(u'IAVD5   \\n')
            </Action>
        </Macro>
        <Macro Name="TV &gt; Standby">
            <Action>
                Serial.Write(u'POWR0   \\n')
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Status" Expanded="True">
        <Folder Name="Desktop" id="422">
            <Folder Name="Modus">
                <Folder Name="Keyboard" id="424">
                    <Macro Name="Blue (Toggle mode)">
                        <Event Name="Conceptronic.Blue" />
                        <Action>
                            EventGhost.EnableExclusive(XmlIdLink(485))
                        </Action>
                        <Action>
                            EventGhost.ShowOSD(u'Muis navigatie', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (1, 2), 0, 3.0, True)
                        </Action>
                    </Macro>
                    <Macro Name="Up">
                        <Event Name="Conceptronic.Up" />
                        <Action>
                            Window.SendKeys(u'{Up}', False)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                        </Action>
                    </Macro>
                    <Macro Name="Down">
                        <Event Name="Conceptronic.Down" />
                        <Action>
                            Window.SendKeys(u'{Down}', False)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                        </Action>
                    </Macro>
                    <Macro Name="Left">
                        <Event Name="Conceptronic.Left" />
                        <Action>
                            Window.SendKeys(u'{Left}', False)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                        </Action>
                    </Macro>
                    <Macro Name="Right">
                        <Event Name="Conceptronic.Right" />
                        <Action>
                            Window.SendKeys(u'{Right}', False)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                        </Action>
                    </Macro>
                    <Macro Name="OK (Enter)">
                        <Event Name="Conceptronic.Ok" />
                        <Action>
                            Window.SendKeys(u'{Enter}', False)
                        </Action>
                    </Macro>
                    <Macro Name="Clear (Backspace)">
                        <Event Name="Conceptronic.Clear" />
                        <Action>
                            Window.SendKeys(u'{Backspace}', False)
                        </Action>
                    </Macro>
                    <Macro Name="Back (Esc)">
                        <Event Name="Conceptronic.Back" />
                        <Action>
                            Window.SendKeys(u'{Esc}', False)
                        </Action>
                    </Macro>
                    <Folder Name="Cijfers">
                        <Macro Name="1">
                            <Event Name="Conceptronic.Num1" />
                            <Action>
                                Window.SendKeys(u'{Numpad1}', False)
                            </Action>
                        </Macro>
                        <Macro Name="2">
                            <Event Name="Conceptronic.Num2" />
                            <Action>
                                Window.SendKeys(u'{Numpad2}', False)
                            </Action>
                        </Macro>
                        <Macro Name="3">
                            <Event Name="Conceptronic.Num3" />
                            <Action>
                                Window.SendKeys(u'{Numpad3}', False)
                            </Action>
                        </Macro>
                        <Macro Name="4">
                            <Event Name="Conceptronic.Num4" />
                            <Action>
                                Window.SendKeys(u'{Numpad4}', False)
                            </Action>
                        </Macro>
                        <Macro Name="5">
                            <Event Name="Conceptronic.Num5" />
                            <Action>
                                Window.SendKeys(u'{Numpad5}', False)
                            </Action>
                        </Macro>
                        <Macro Name="6">
                            <Event Name="Conceptronic.Num6" />
                            <Action>
                                Window.SendKeys(u'{Numpad6}', False)
                            </Action>
                        </Macro>
                        <Macro Name="7">
                            <Event Name="Conceptronic.Num7" />
                            <Action>
                                Window.SendKeys(u'{Numpad7}', False)
                            </Action>
                        </Macro>
                        <Macro Name="8">
                            <Event Name="Conceptronic.Num8" />
                            <Action>
                                Window.SendKeys(u'{Numpad8}', False)
                            </Action>
                        </Macro>
                        <Macro Name="9">
                            <Event Name="Conceptronic.Num9" />
                            <Action>
                                Window.SendKeys(u'{Numpad9}', False)
                            </Action>
                        </Macro>
                        <Macro Name="0">
                            <Event Name="Conceptronic.Num0" />
                            <Action>
                                Window.SendKeys(u'{Numpad0}', False)
                            </Action>
                        </Macro>
                    </Folder>
                </Folder>
                <Folder Name="Mouse" id="485" Enabled="False">
                    <Folder Name="Cijfers">
                        <Macro Name="1">
                            <Event Name="Conceptronic.Num1" />
                            <Action>
                                Window.SendKeys(u'{Numpad1}', False)
                            </Action>
                        </Macro>
                        <Macro Name="2">
                            <Event Name="Conceptronic.Num2" />
                            <Action>
                                Window.SendKeys(u'{Numpad2}', False)
                            </Action>
                        </Macro>
                        <Macro Name="3">
                            <Event Name="Conceptronic.Num3" />
                            <Action>
                                Window.SendKeys(u'{Numpad3}', False)
                            </Action>
                        </Macro>
                        <Macro Name="4">
                            <Event Name="Conceptronic.Num4" />
                            <Action>
                                Window.SendKeys(u'{Numpad4}', False)
                            </Action>
                        </Macro>
                        <Macro Name="5">
                            <Event Name="Conceptronic.Num5" />
                            <Action>
                                Window.SendKeys(u'{Numpad5}', False)
                            </Action>
                        </Macro>
                        <Macro Name="6">
                            <Event Name="Conceptronic.Num6" />
                            <Action>
                                Window.SendKeys(u'{Numpad6}', False)
                            </Action>
                        </Macro>
                        <Macro Name="7">
                            <Event Name="Conceptronic.Num7" />
                            <Action>
                                Window.SendKeys(u'{Numpad7}', False)
                            </Action>
                        </Macro>
                        <Macro Name="8">
                            <Event Name="Conceptronic.Num8" />
                            <Action>
                                Window.SendKeys(u'{Numpad8}', False)
                            </Action>
                        </Macro>
                        <Macro Name="9">
                            <Event Name="Conceptronic.Num9" />
                            <Action>
                                Window.SendKeys(u'{Numpad9}', False)
                            </Action>
                        </Macro>
                        <Macro Name="0">
                            <Event Name="Conceptronic.Num0" />
                            <Action>
                                Window.SendKeys(u'{Numpad0}', False)
                            </Action>
                        </Macro>
                    </Folder>
                    <Macro Name="Blue (Toggle mode)">
                        <Event Name="Conceptronic.Blue" />
                        <Action>
                            EventGhost.EnableExclusive(XmlIdLink(546))
                        </Action>
                        <Action>
                            EventGhost.ShowOSD(u'SMS typen', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (1, 2), 0, 3.0, True)
                        </Action>
                    </Macro>
                    <Macro Name="Up">
                        <Event Name="Conceptronic.Up" />
                        <Action>
                            Mouse.MoveRelative(None, -8)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.0, 0.10000000000000001, 0.02, 1.0)
                        </Action>
                    </Macro>
                    <Macro Name="Down">
                        <Event Name="Conceptronic.Down" />
                        <Action>
                            Mouse.MoveRelative(None, 8)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.0, 0.10000000000000001, 0.02, 1.0)
                        </Action>
                    </Macro>
                    <Macro Name="Left">
                        <Event Name="Conceptronic.Left" />
                        <Action>
                            Mouse.MoveRelative(-8, None)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.0, 0.10000000000000001, 0.02, 1.0)
                        </Action>
                    </Macro>
                    <Macro Name="Right">
                        <Event Name="Conceptronic.Right" />
                        <Action>
                            Mouse.MoveRelative(8, None)
                        </Action>
                        <Action>
                            EventGhost.AutoRepeat(0.0, 0.10000000000000001, 0.02, 1.0)
                        </Action>
                    </Macro>
                    <Macro Name="OK (Left Mouse Click)">
                        <Event Name="Conceptronic.Ok" />
                        <Action>
                            Mouse.LeftButton()
                        </Action>
                    </Macro>
                    <Macro Name="Clear (Backspace)">
                        <Event Name="Conceptronic.Clear" />
                        <Action>
                            Window.SendKeys(u'{Backspace}', False)
                        </Action>
                    </Macro>
                    <Macro Name="Back (Esc)">
                        <Event Name="Conceptronic.Back" />
                        <Action>
                            Window.SendKeys(u'{Esc}', False)
                        </Action>
                    </Macro>
                </Folder>
                <Folder Name="SMS" id="546" Enabled="False">
                    <Macro Name="Blue (Toggle mode)">
                        <Event Name="Conceptronic.Blue" />
                        <Action>
                            EventGhost.EnableExclusive(XmlIdLink(424))
                        </Action>
                        <Action>
                            EventGhost.ShowOSD(u'Toets navigatie', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (1, 2), 0, 3.0, True)
                        </Action>
                    </Macro>
                    <Macro Name="1">
                        <Event Name="Conceptronic.Num1" />
                        <Action>
                            Multitap.Key(u'SMS', [u'.?1', u'.?1'])
                        </Action>
                    </Macro>
                    <Macro Name="2">
                        <Event Name="Conceptronic.Num2" />
                        <Action>
                            Multitap.Key(u'SMS', [u'abc2', u'ABC2'])
                        </Action>
                    </Macro>
                    <Macro Name="3">
                        <Event Name="Conceptronic.Num3" />
                        <Action>
                            Multitap.Key(u'SMS', [u'def3', u'DEF3'])
                        </Action>
                    </Macro>
                    <Macro Name="4">
                        <Event Name="Conceptronic.Num4" />
                        <Action>
                            Multitap.Key(u'SMS', [u'ghi4', u'GHI4'])
                        </Action>
                    </Macro>
                    <Macro Name="5">
                        <Event Name="Conceptronic.Num5" />
                        <Action>
                            Multitap.Key(u'SMS', [u'jkl5', u'JKL5'])
                        </Action>
                    </Macro>
                    <Macro Name="6">
                        <Event Name="Conceptronic.Num6" />
                        <Action>
                            Multitap.Key(u'SMS', [u'mno6', u'MNO6'])
                        </Action>
                    </Macro>
                    <Macro Name="7">
                        <Event Name="Conceptronic.Num7" />
                        <Action>
                            Multitap.Key(u'SMS', [u'pqrs7', u'PQRS7'])
                        </Action>
                    </Macro>
                    <Macro Name="8">
                        <Event Name="Conceptronic.Num8" />
                        <Action>
                            Multitap.Key(u'SMS', [u'tuv8', u'TUV8'])
                        </Action>
                    </Macro>
                    <Macro Name="9">
                        <Event Name="Conceptronic.Num9" />
                        <Action>
                            Multitap.Key(u'SMS', [u'wxyz9', u'WXYZ9'])
                        </Action>
                    </Macro>
                    <Macro Name="0">
                        <Event Name="Conceptronic.Num0" />
                        <Action>
                            Multitap.Key(u'SMS', [u' 0', u' 0'])
                        </Action>
                    </Macro>
                    <Macro Name="Enter">
                        <Event Name="Conceptronic.Ok" />
                        <Action>
                            Multitap.Enter()
                        </Action>
                    </Macro>
                    <Macro Name="Clear">
                        <Event Name="Conceptronic.Clear" />
                        <Action>
                            Multitap.BackSpace()
                        </Action>
                    </Macro>
                    <Macro Name="Invoegen">
                        <Event Name="Multitap.SMS" />
                        <Action>
                            Window.SendKeys(u'{eg.event.payload}', False)
                        </Action>
                        <Action Enabled="False">
                            Window.SendKeys(u'{Enter}', False)
                        </Action>
                    </Macro>
                    <Macro Name="Multitap: Caps Lock">
                        <Event Name="Conceptronic.Dash" />
                        <Action>
                            Multitap.Shift()
                        </Action>
                    </Macro>
                    <Macro Name="Back (Cancel)">
                        <Event Name="Conceptronic.Back" />
                        <Action>
                            Multitap.Cancel()
                        </Action>
                    </Macro>
                </Folder>
            </Folder>
            <Macro Name="Play/Pause">
                <Event Name="Conceptronic.Play" />
                <Event Name="Conceptronic.Pause" />
                <Event Name="Keyboard.MediaPlayPause" />
                <Action>
                    Window.SendKeys(u'{MediaPlayPause}', False)
                </Action>
            </Macro>
            <Macro Name="Stop">
                <Event Name="Conceptronic.Stop" />
                <Action>
                    Window.SendKeys(u'{MediaStop}', False)
                </Action>
            </Macro>
            <Macro Name="Previous Track">
                <Event Name="Conceptronic.PreviousTrack" />
                <Action>
                    Window.SendKeys(u'{MediaPrevTrack}', False)
                </Action>
            </Macro>
            <Macro Name="Next Track">
                <Event Name="Conceptronic.NextTrack" />
                <Action>
                    Window.SendKeys(u'{MediaNextTrack}', False)
                </Action>
            </Macro>
            <Macro Name="ChannelUp (PageUp)">
                <Event Name="Conceptronic.ChannelUp" />
                <Action>
                    Window.SendKeys(u'{PageUp}', False)
                </Action>
            </Macro>
            <Macro Name="ChannelDown (PageDown)">
                <Event Name="Conceptronic.ChannelDown" />
                <Action>
                    Window.SendKeys(u'{PageDown}', False)
                </Action>
            </Macro>
            <Macro Name="Rewind" Enabled="False">
                <Event Name="Conceptronic.Rewind" />
                <Action>
                    Window.SendKeys(u'{Back}', False)
                </Action>
            </Macro>
            <Macro Name="Forward" Enabled="False">
                <Event Name="Conceptronic.Forward" />
            </Macro>
            <Macro Name="Info">
                <Event Name="Conceptronic.Info" />
                <Action>
                    Window.SendKeys(u'{Apps}', False)
                </Action>
            </Macro>
            <Macro Name="Aspect Ratio (Flip 3D)">
                <Event Name="Conceptronic.AspectRatio" />
                <Action>
                    EventGhost.NewJumpIf(XmlIdLink(413), 2, False)
                </Action>
            </Macro>
            <Macro Name="Red (Sluiten)">
                <Event Name="Conceptronic.Red" />
                <Action>
                    Window.Close()
                </Action>
            </Macro>
            <Macro Name="Green (Minimaliseer)">
                <Event Name="Conceptronic.Green" />
                <Action>
                    Window.Minimize()
                </Action>
            </Macro>
            <Macro Name="Yellow (Maximaliseer)">
                <Event Name="Conceptronic.Yellow" />
                <Action>
                    Window.Maximize()
                </Action>
            </Macro>
        </Folder>
        <Folder Name="MediaPortal" id="637" Enabled="False">
            <Folder Name="Overig" Expanded="True">
                <Macro Name="Backspace">
                    <Event Name="Conceptronic.Clear" />
                    <Action>
                        Window.SendKeys(u'{Backspace}', False)
                    </Action>
                </Macro>
                <Macro Name="Simuleer Toetsen: #">
                    <Event Name="Conceptronic.Dash" />
                    <Action>
                        Window.SendKeys(u'#', False)
                    </Action>
                </Macro>
            </Folder>
            <Macro Name="Cursor Up">
                <Event Name="Conceptronic.Up" />
                <Action>
                    MediaPortal.Up()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Cursor Down">
                <Event Name="Conceptronic.Down" />
                <Action>
                    MediaPortal.Down()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Cursor Left">
                <Event Name="Conceptronic.Left" />
                <Action>
                    MediaPortal.Left()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Cursor Right">
                <Event Name="Conceptronic.Right" />
                <Action>
                    MediaPortal.Right()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Ok">
                <Event Name="Conceptronic.Ok" />
                <Action>
                    MediaPortal.Ok()
                </Action>
            </Macro>
            <Macro Name="Back">
                <Event Name="Conceptronic.Back" />
                <Action>
                    MediaPortal.Back()
                </Action>
            </Macro>
            <Macro Name="NumPad 0">
                <Event Name="Conceptronic.Num0" />
                <Action>
                    MediaPortal.NumPad0()
                </Action>
            </Macro>
            <Macro Name="NumPad 1">
                <Event Name="Conceptronic.Num1" />
                <Action>
                    MediaPortal.NumPad1()
                </Action>
            </Macro>
            <Macro Name="NumPad 2">
                <Event Name="Conceptronic.Num2" />
                <Action>
                    MediaPortal.NumPad2()
                </Action>
            </Macro>
            <Macro Name="NumPad 3">
                <Event Name="Conceptronic.Num3" />
                <Action>
                    MediaPortal.NumPad3()
                </Action>
            </Macro>
            <Macro Name="NumPad 4">
                <Event Name="Conceptronic.Num4" />
                <Action>
                    MediaPortal.NumPad4()
                </Action>
            </Macro>
            <Macro Name="NumPad 5">
                <Event Name="Conceptronic.Num5" />
                <Action>
                    MediaPortal.NumPad5()
                </Action>
            </Macro>
            <Macro Name="NumPad 6">
                <Event Name="Conceptronic.Num6" />
                <Action>
                    MediaPortal.NumPad6()
                </Action>
            </Macro>
            <Macro Name="NumPad 7">
                <Event Name="Conceptronic.Num7" />
                <Action>
                    MediaPortal.NumPad7()
                </Action>
            </Macro>
            <Macro Name="NumPad 8">
                <Event Name="Conceptronic.Num8" />
                <Action>
                    MediaPortal.NumPad8()
                </Action>
            </Macro>
            <Macro Name="NumPad 9">
                <Event Name="Conceptronic.Num9" />
                <Action>
                    MediaPortal.NumPad9()
                </Action>
            </Macro>
            <Macro Name="Enter">
                <Event Name="Conceptronic.Ok" />
                <Action>
                    MediaPortal.Enter()
                </Action>
            </Macro>
            <Macro Name="Power1">
                <Action>
                    MediaPortal.Power1()
                </Action>
            </Macro>
            <Macro Name="Power2">
                <Action>
                    MediaPortal.Power2()
                </Action>
            </Macro>
            <Macro Name="Start">
                <Event Name="Conceptronic.Start" />
                <Action>
                    MediaPortal.Start()
                </Action>
            </Macro>
            <Macro Name="Info">
                <Event Name="Conceptronic.Info" />
                <Action>
                    MediaPortal.Info()
                </Action>
            </Macro>
            <Macro Name="Volume Up" Enabled="False">
                <Event Name="Conceptronic.VolumeUp" />
                <Action>
                    MediaPortal.VolumeUp()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Volume Down" Enabled="False">
                <Event Name="Conceptronic.VolumeDown" />
                <Action>
                    MediaPortal.VolumeDown()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Mute" Enabled="False">
                <Event Name="Conceptronic.Mute" />
                <Action>
                    MediaPortal.Mute()
                </Action>
            </Macro>
            <Macro Name="Channel Up">
                <Event Name="Conceptronic.ChannelUp" />
                <Action>
                    MediaPortal.ChannelUp()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Channel Down">
                <Event Name="Conceptronic.ChannelDown" />
                <Action>
                    MediaPortal.ChannelDown()
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
                </Action>
            </Macro>
            <Macro Name="Forward">
                <Event Name="Conceptronic.Forward" />
                <Action>
                    MediaPortal.Forward()
                </Action>
            </Macro>
            <Macro Name="Rewind">
                <Event Name="Conceptronic.Rewind" />
                <Action>
                    MediaPortal.Rewind()
                </Action>
            </Macro>
            <Macro Name="Play">
                <Event Name="Conceptronic.Play" />
                <Action>
                    MediaPortal.Play()
                </Action>
            </Macro>
            <Macro Name="Record">
                <Event Name="Conceptronic.Record" />
                <Action>
                    MediaPortal.Record()
                </Action>
            </Macro>
            <Macro Name="Pause">
                <Event Name="Conceptronic.Pause" />
                <Event Name="Keyboard.MediaPlayPause" />
                <Action Enabled="False">
                    MediaPortal.Pause()
                </Action>
                <Action>
                    Window.SendKeys(u'{Space}', False)
                </Action>
            </Macro>
            <Macro Name="Stop">
                <Event Name="Conceptronic.Stop" />
                <Action>
                    MediaPortal.Stop()
                </Action>
            </Macro>
            <Macro Name="Skip">
                <Event Name="Conceptronic.NextTrack" />
                <Action>
                    MediaPortal.Skip()
                </Action>
            </Macro>
            <Macro Name="Replay">
                <Event Name="Conceptronic.PreviousTrack" />
                <Action>
                    MediaPortal.Replay()
                </Action>
            </Macro>
            <Macro Name="OemGate">
                <Action>
                    MediaPortal.OemGate()
                </Action>
            </Macro>
            <Macro Name="Oem8">
                <Action>
                    MediaPortal.Oem8()
                </Action>
            </Macro>
            <Macro Name="DVDMenu">
                <Event Name="Conceptronic.DVDMenu" />
                <Action>
                    MediaPortal.DVDMenu()
                </Action>
            </Macro>
            <Macro Name="LiveTV">
                <Action>
                    MediaPortal.LiveTV()
                </Action>
            </Macro>
            <Macro Name="Guide">
                <Event Name="Conceptronic.TVGuide" />
                <Action>
                    MediaPortal.Guide()
                </Action>
            </Macro>
            <Macro Name="AspectRatio, after 3 seconds Flip 3D">
                <Event Name="Conceptronic.AspectRatio" />
                <Action>
                    EventGhost.JumpIfLongPress(2.0, XmlIdLink(413))
                </Action>
                <Action>
                    MediaPortal.AspectRatio()
                </Action>
            </Macro>
            <Macro Name="MyTV">
                <Event Name="Conceptronic.TV" />
                <Action>
                    MediaPortal.MyTV()
                </Action>
            </Macro>
            <Macro Name="MyMusic">
                <Event Name="Conceptronic.Music" />
                <Action>
                    MediaPortal.MyMusic()
                </Action>
            </Macro>
            <Macro Name="RecordedTV">
                <Event Name="Conceptronic.RecordedTV" />
                <Action>
                    MediaPortal.RecordedTV()
                </Action>
            </Macro>
            <Macro Name="MyPictures">
                <Event Name="Conceptronic.Photo" />
                <Action>
                    MediaPortal.MyPictures()
                </Action>
            </Macro>
            <Macro Name="MyVideos">
                <Event Name="Conceptronic.Video" />
                <Action>
                    MediaPortal.MyVideos()
                </Action>
            </Macro>
            <Macro Name="Print">
                <Action>
                    MediaPortal.Print()
                </Action>
            </Macro>
            <Macro Name="MyRadio">
                <Event Name="Conceptronic.Radio" />
                <Action>
                    MediaPortal.MyRadio()
                </Action>
            </Macro>
            <Macro Name="Teletext">
                <Event Name="Conceptronic.Teletext" />
                <Action>
                    MediaPortal.Teletext()
                </Action>
            </Macro>
            <Macro Name="Red">
                <Event Name="Conceptronic.Red" />
                <Action>
                    MediaPortal.Red()
                </Action>
            </Macro>
            <Macro Name="Green">
                <Event Name="Conceptronic.Green" />
                <Action>
                    MediaPortal.Green()
                </Action>
            </Macro>
            <Macro Name="Yellow">
                <Event Name="Conceptronic.Yellow" />
                <Action>
                    MediaPortal.Yellow()
                </Action>
            </Macro>
            <Macro Name="Blue">
                <Event Name="Conceptronic.Blue" />
                <Action>
                    MediaPortal.Blue()
                </Action>
            </Macro>
            <Macro Name="PowerTV">
                <Action>
                    MediaPortal.PowerTV()
                </Action>
            </Macro>
            <Macro Name="Messenger">
                <Action>
                    MediaPortal.Messenger()
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Opera Mobile Browser" id="810" Enabled="False">
            <Macro Name="Left">
                <Event Name="Conceptronic.Left" />
                <Action>
                    Window.SendKeys(u'{Left}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.5, 0.01, 0.01, 1.0)
                </Action>
            </Macro>
            <Macro Name="Up">
                <Event Name="Conceptronic.Up" />
                <Action>
                    Window.SendKeys(u'{Up}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.5, 0.01, 0.01, 1.0)
                </Action>
            </Macro>
            <Macro Name="Down">
                <Event Name="Conceptronic.Down" />
                <Action>
                    Window.SendKeys(u'{Down}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.5, 0.01, 0.01, 1.0)
                </Action>
            </Macro>
            <Macro Name="Right">
                <Event Name="Conceptronic.Right" />
                <Action>
                    Window.SendKeys(u'{Right}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.5, 0.0, 0.0, 1.0)
                </Action>
            </Macro>
            <Macro Name="OK (Enter)">
                <Event Name="Conceptronic.Ok" />
                <Action>
                    Window.SendKeys(u'{Enter}', True)
                </Action>
            </Macro>
            <Macro Name="Info (F1)">
                <Event Name="Conceptronic.Info" />
                <Action>
                    Window.SendKeys(u'{F1}', True)
                </Action>
            </Macro>
            <Macro Name="Back (F2)">
                <Event Name="Conceptronic.Back" />
                <Action>
                    Window.SendKeys(u'{F2}', False)
                </Action>
            </Macro>
            <Macro Name="Clear (Backspace)">
                <Event Name="Conceptronic.Clear" />
                <Action>
                    Window.SendKeys(u'{Backspace}', False)
                </Action>
                <Action>
                    EventGhost.AutoRepeat(0.5, 0.0, 0.0, 1.0)
                </Action>
            </Macro>
            <Macro Name="Page Up">
                <Event Name="Conceptronic.ChannelUp" />
                <Action>
                    Window.SendKeys(u'{Up}', True)
                </Action>
            </Macro>
            <Macro Name="Page Down">
                <Event Name="Conceptronic.ChannelDown" />
                <Action>
                    Window.SendKeys(u'{Down}', True)
                </Action>
            </Macro>
            <Macro Name="Sluiten">
                <Event Name="Conceptronic.Stop" />
                <Action>
                    Window.FindWindow(u'OperaMobile.exe', None, None, None, None, None, False, 0.0, 0)
                </Action>
                <Action>
                    Window.Close()
                </Action>
            </Macro>
            <Macro Name="Draai Muiswiel -1 klikken" Enabled="False">
                <Action>
                    Window.SendKeys(u'{Ctrl}', False)
                </Action>
                <Action>
                    Mouse.MouseWheel(1)
                </Action>
            </Macro>
            <Folder Name="Cijfers">
                <Macro Name="1">
                    <Event Name="Conceptronic.Num1" />
                    <Action>
                        Window.SendKeys(u'{Numpad1}', False)
                    </Action>
                </Macro>
                <Macro Name="2">
                    <Event Name="Conceptronic.Num2" />
                    <Action>
                        Window.SendKeys(u'{Numpad2}', False)
                    </Action>
                </Macro>
                <Macro Name="3">
                    <Event Name="Conceptronic.Num3" />
                    <Action>
                        Window.SendKeys(u'{Numpad3}', False)
                    </Action>
                </Macro>
                <Macro Name="4">
                    <Event Name="Conceptronic.Num4" />
                    <Action>
                        Window.SendKeys(u'{Numpad4}', False)
                    </Action>
                </Macro>
                <Macro Name="5">
                    <Event Name="Conceptronic.Num5" />
                    <Action>
                        Window.SendKeys(u'{Numpad5}', False)
                    </Action>
                </Macro>
                <Macro Name="6">
                    <Event Name="Conceptronic.Num6" />
                    <Action>
                        Window.SendKeys(u'{Numpad6}', False)
                    </Action>
                </Macro>
                <Macro Name="7">
                    <Event Name="Conceptronic.Num7" />
                    <Action>
                        Window.SendKeys(u'{Numpad7}', False)
                    </Action>
                </Macro>
                <Macro Name="8">
                    <Event Name="Conceptronic.Num8" />
                    <Action>
                        Window.SendKeys(u'{Numpad8}', False)
                    </Action>
                </Macro>
                <Macro Name="9">
                    <Event Name="Conceptronic.Num9" />
                    <Action>
                        Window.SendKeys(u'{Numpad9}', False)
                    </Action>
                </Macro>
                <Macro Name="0">
                    <Event Name="Conceptronic.Num0" />
                    <Action>
                        Window.SendKeys(u'{Numpad0}', False)
                    </Action>
                </Macro>
            </Folder>
        </Folder>
    </Folder>
    <Folder Name="Home Automation" Expanded="True">
        <Folder Name="Process">
            <Macro Name="Device on">
                <Event Name="Main.haon" />
                <Action>
                    EventGhost.PythonScript(u"# if you are on the internet you can access the HTML code of a \n# given web site\n# using the urlopen() method/function from the module urllib2\n\nimport urllib2\ndevice = eg.event.payload\nurlStr = 'http://192.168.1.5/API/?device='+device+'&amp;cmd=on'\ntry:\n  fileHandle = urllib2.urlopen(urlStr)\n  str1 = fileHandle.read()\n  fileHandle.close()\nexcept IOError:\n  print 'Cannot open URL %s for reading' % urlStr\n  str1 = 'error!'\n  \nprint str1")
                </Action>
            </Macro>
            <Macro Name="Device off">
                <Event Name="Main.haoff" />
                <Action>
                    EventGhost.PythonScript(u"# if you are on the internet you can access the HTML code of a \n# given web site\n# using the urlopen() method/function from the module urllib2\n\nimport urllib2\ndevice = eg.event.payload\nurlStr = 'http://192.168.1.5/API/?device='+device+'&amp;cmd=off'\ntry:\n  fileHandle = urllib2.urlopen(urlStr)\n  str1 = fileHandle.read()\n  fileHandle.close()\nexcept IOError:\n  print 'Cannot open URL %s for reading' % urlStr\n  str1 = 'error!'\n  \nprint str1")
                </Action>
            </Macro>
        </Folder>
        <Folder Name="Action">
            <Macro Name="On: Plafondlamp">
                <Action>
                    EventGhost.PythonCommand(u'eg.TriggerEvent("haon", payload="138")')
                </Action>
            </Macro>
            <Macro Name="Off: Plafondlamp">
                <Action>
                    EventGhost.PythonCommand(u'eg.TriggerEvent("haoff", payload="138")')
                </Action>
            </Macro>
            <Macro Name="On: Geluidsboxen" id="897">
                <Action>
                    EventGhost.PythonCommand(u'eg.TriggerEvent("haon", payload="84")')
                </Action>
            </Macro>
            <Macro Name="Off: Geluidsboxen" id="899">
                <Action>
                    EventGhost.PythonCommand(u'eg.TriggerEvent("haoff", payload="84")')
                </Action>
            </Macro>
        </Folder>
    </Folder>
    <Folder Name="ForTheRecord" Expanded="True">
        <Macro Name="OpnameCheck">
            <Event Name="Main.OpnameCheck" />
            <Action>
                EventGhost.PythonScript(u'import httplib, urllib\nimport json\n\nparams = urllib.urlencode({\'spam\': 1})\nheaders = {"Content-type": "application/x-www-form-urlencoded",  "Accept": "text/plain"}\n\nconn = httplib.HTTPConnection("localhost:49943")\nconn.request("POST", "/ForTheRecord/Control/ActiveRecordings", params, headers)\nresponse = conn.getresponse()\n#print response.status, response.reason\n\ndata = response.read()\nconn.close()\n\ndataDec = json.loads(data)\n\n#print dataDec\nif dataDec != []:\n    print dataDec[0][\'Program\'][\'Title\']\n    if(eg.globals.recording != 1):\n        eg.TriggerEvent("Recording")\n        eg.globals.recording = 1\nelse:\n    print "Geen opname bezig"\n    if(eg.globals.recording != 0):\n        eg.TriggerEvent("NotRecording")\n        eg.globals.recording = 0\n\n#http://htpc:49943/ForTheRecord/Control/ActiveRecordings\n#http://htpc:49943/ForTheRecord/Control/GetLiveStreams\n\n\n#\n#str = eg.event.payload\n\n#if str.find(\'Starting recording\') != -1:\n\n#    eg.globals.recThreads = eg.globals.recThreads + 1\n#    if eg.globals.recThreads == 1:\n#        eg.TriggerEvent("4tr.RecordingStarted")\n#        print "First recording started"\n#    else:\n#        print "Recording started: %d" % (eg.globals.recThreads, )\n#elif (str.find(\'Recording ended\') != -1) or (str.find(\'Setting new wake-up time\') != -1):\n#    \n#    if eg.globals.recThreads == 1:\n#        eg.TriggerEvent("4tr.RecordingEnded")\n#        print "All recordings ended"\n#        eg.globals.recThreads = 0\n#    else:\n#        eg.globals.recThreads = eg.globals.recThreads - 1\n#        print "Recording ended: %d" % (eg.globals.recThreads, )\n#    if eg.globals.recThreads &lt; 0:\n#        eg.globals.recThreads = 0\n#        eg.TriggerEvent("4tr.RecordingEnded")\n#else:\n#    print eg.event.payload')
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'OpnameCheck', 120.0)
            </Action>
        </Macro>
        <Macro Name="TimeshiftCheck">
            <Event Name="Main.TimeshiftCheck" />
            <Action>
                EventGhost.PythonScript(u'import httplib, urllib\nimport json\n\nparams = urllib.urlencode({\'spam\': 1})\nheaders = {"Content-type": "application/x-www-form-urlencoded",  "Accept": "text/plain"}\n\nconn = httplib.HTTPConnection("localhost:49943")\nconn.request("POST", "/ForTheRecord/Control/GetLiveStreams", params, headers)\nresponse = conn.getresponse()\n#print response.status, response.reason\n\ndata = response.read()\nconn.close()\n\ndataDec = json.loads(data)\n\n#print dataDec\nif dataDec != []:\n    print dataDec[0][\'Channel\'][\'DisplayName\']\n    if(eg.globals.timeshifting != 1):\n        eg.TriggerEvent("Timeshifting")\n        eg.globals.timeshifting = 1\nelse:\n    print "Niet aan het timeshiften"\n    if(eg.globals.timeshifting != 0):\n        eg.TriggerEvent("NotTimeshifting")\n        eg.globals.timeshifting = 0\n\n  \n#http://htpc:49943/ForTheRecord/Control/ActiveRecordings\n#http://htpc:49943/ForTheRecord/Control/GetLiveStreams')
            </Action>
            <Action>
                EventGhost.TriggerEvent(u'TimeshiftCheck', 180.0)
            </Action>
        </Macro>
        <Macro Name="Recording">
            <Event Name="Main.Recording" />
            <Action>
                EventGhost.DisableItem(XmlIdLink(364))
            </Action>
        </Macro>
        <Macro Name="Not Recording">
            <Event Name="Main.NotRecording" />
            <Action>
                EventGhost.EnableItem(XmlIdLink(364))
            </Action>
        </Macro>
    </Folder>
</EventGhost>
