<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Name="Configuration Tree" Version="1449" Guid="{0516F9F4-3BEA-46C8-8274-27EEDDFB7CA0}" Time="1221599129.7">
    <Autostart Name="Autostart">
        <Plugin File="Timer" Identifier="Timer">
            gAIpLg==
        </Plugin>
        <Action>
            Timer.TimerAction(u'check_App_every_5_min', 0, 0, 300.0, u'check_App', False, True, 0, u'00:00:00')
        </Action>
    </Autostart>
    <Folder Name="Check magicJack">
        <Macro Name="Python Script">
            <Event Name="Timer.check_App" />
            <Action>
                EventGhost.PythonScript(u'App = \'magicJack.exe\'\nquery = r"Select * from Win32_Process WHERE Name = \'%s\'" % App\ndef App_running():\n    from win32com.client import GetObject\n    res = False\n    strComputer = "."\n    WMI_Service = GetObject(r"winmgmts:{impersonationLevel=impersonate}!\\\\%s\\root\\cimv2" % strComputer)\n    objs = WMI_Service.ExecQuery(query)\n    for obj in objs:\n        res = True\n    return res\n\neg.result = App_running()')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(10), 1, False)
            </Action>
        </Macro>
        <Macro Name="Start Program: magicJack.exe" id="10">
            <Action>
                System.Execute(u'C:\\Documents and Settings\\STi Sev\\Application Data\\mjusbsp\\magicJack.exe', u'/foreground /scf _magicJackPersonalDataRoot "L:\\magicJack"', 0, False, 2, u'')
            </Action>
        </Macro>
    </Folder>
</EventGhost>
