<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640" Guid="{751AD816-C9E9-4ED9-B351-47E579857886}" Time="1390185326.08">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin Identifier="Process" Guid="{82BADF9F-D809-4EBC-A540-CCBF7563F8DF}" File="ProcessWatcher">
            gAIpLg==
        </Plugin>
        <Plugin Identifier="Keyboard" Guid="{59CBD10F-C1D8-4ADB-999B-9B76BA360F1F}" File="Keyboard">
            gAKIhXEALg==
        </Plugin>
        <Plugin Identifier="DirectoryWatcher" Guid="{003FABA6-AA6A-4395-9DB6-DC88EB07F5FE}" File="DirectoryWatcher">
            gAJYEAAAAEU6XGVtdWxlSW5jb21pbmdxAIiGcQEu
        </Plugin>
        <Plugin Identifier="FileOperations" Guid="{50D933C5-F93B-4A8A-A6CE-95A40F906036}" File="FileOperations">
            gAIpLg==
        </Plugin>
        <Plugin Identifier="Joystick" Guid="{615F3B89-FB7E-4FD9-B7D5-9F07FEF0BED9}" File="Joystick">
            gAIpLg==
        </Plugin>
        <Plugin Identifier="Timer" Guid="{6149CA99-1FCD-4450-9160-7543BC20CFD3}" File="Timer">
            gAIpLg==
        </Plugin>
    </Autostart>
    <Macro Name="rhash process terminated">
        <Event Name="Process.Destroyed.rhash" />
        <Action>
            System.Execute(u'notify.bat', u'"rhash finished"', 3, False, 2, u'', False, False)
        </Action>
    </Macro>
    <Macro Name="chkdsk process terminated">
        <Event Name="Process.Destroyed.chkdsk" />
        <Action>
            System.Execute(u'notify.bat', u'"chkdsk finished"', 3, False, 2, u'', False, False)
        </Action>
    </Macro>
    <Folder Name="keyboard hotkeys">
        <Macro Name="open calc" Expanded="True">
            <Event Name="Keyboard.Ctrl+Alt+C" />
            <Action>
                System.Execute(u'calc', u'', 0, False, 2, u'', False, False)
            </Action>
        </Macro>
        <Macro Name="open editor">
            <Event Name="Keyboard.Ctrl+Alt+O" />
            <Action>
                System.Execute(u'C:\\PortableApps\\Notepad++\\notepad++.exe', u'', 0, False, 2, u'', False, False)
            </Action>
        </Macro>
        <Macro Name="switch monitor" Expanded="True">
            <Event Name="Keyboard.Win+P" />
            <Action>
                System.Execute(u'switchmon.bat', u'', 0, False, 2, u'', False, False)
            </Action>
        </Macro>
        <Macro Name="set game mode" Expanded="True">
            <Event Name="Keyboard.Ctrl+Alt+P" />
            <Action>
                System.Execute(u'setgamemode.bat', u'', 0, False, 2, u'', False, False)
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(69))
            </Action>
        </Macro>
        <Macro Name="set pc mode" Expanded="True">
            <Event Name="Keyboard.Ctrl+Alt+E" />
            <Action>
                System.Execute(u'setpcmode.bat', u'', 1, False, 2, u'c:\\CLIPrograms', False, False)
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(69))
            </Action>
        </Macro>
        <Folder Name="&lt;unnamed folder&gt;" />
    </Folder>
    <Folder Name="mouse extra buttons" id="69">
        <Macro Name="Minimize" Expanded="True">
            <Event Name="Mouse.XButton1" />
            <Action>
                Window.Minimize()
            </Action>
        </Macro>
        <Macro Name="Maximize" Expanded="True">
            <Event Name="Mouse.XButton2" />
            <Action>
                Window.Maximize()
            </Action>
        </Macro>
    </Folder>
    <Folder Name="log monitors">
        <Folder Name="filezilla" Expanded="True">
            <Macro Name="start monitoring">
                <Event Name="Process.Created.filezilla" />
                <Action>
                    FileOperations.ReadPeriodically([0, u'r:\\TEMP\\filezilla.log', 0, 2, 'cp1252', 1, True, 1, 5.0, u'FileZillaLog', 3])
                </Action>
            </Macro>
            <Macro Name="stop monitoring">
                <Event Name="Process.Destroyed.filezilla" />
                <Action>
                    FileOperations.AbortPeriodicalRead(u'FileZillaLog', u'filezilla.log')
                </Action>
            </Macro>
            <Macro Name="events filter+notify" Expanded="True">
                <Event Name="File.FileZillaLog" />
                <Action>
                    EventGhost.PythonScript(u'\nif("File transfer successful" in eg.event.payload):\n    eg.plugins.System.Execute(u\'notify.bat\', u\'"Filezilla transfer successful"\', 3, False, 2, u\'\', False, False)\n')
                </Action>
            </Macro>
        </Folder>
        <Folder Name="TODO - jdownloader" />
        <Folder Name="totalcommander">
            <Macro Name="start monitoring" Expanded="True">
                <Event Name="Process.Created.TOTALCMD" />
                <Action>
                    FileOperations.ReadPeriodically([0, u'R:\\TEMP\\totalcmd.log', 0, 2, 'cp1252', 1, True, 1, 5.0, u'TotalCommanderLog', 3])
                </Action>
            </Macro>
            <Macro Name="stop monitoring" Expanded="True">
                <Event Name="Process.Destroyed.TOTALCMD" />
                <Action>
                    FileOperations.AbortPeriodicalRead(u'TotalCommanderLog', u'totalcmd.log')
                </Action>
            </Macro>
            <Macro Name="events filter+notify" Expanded="True">
                <Event Name="File.TotalCommanderLog" />
                <Action>
                    EventGhost.PythonScript(u'\nif("Copy" in eg.event.payload):\n    eg.plugins.System.Execute(u\'notify.bat\', u\'"TotalCommander copy finished"\', 3, False, 2, u\'\', False, False)\nelif("Move" in eg.event.payload):\n    eg.plugins.System.Execute(u\'notify.bat\', u\'"TotalCommander move finished"\', 3, False, 2, u\'\', False, False)\n')
                </Action>
            </Macro>
        </Folder>
    </Folder>
</EventGhost>
