<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Name="Configuration Tree" Expanded="True" Version="1462" Guid="{2BA0D565-D1EA-4D1E-BEBD-FB16596E592B}" Time="1286788789.77">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin File="Timer" Identifier="Timer">
            gAIpLg==
        </Plugin>
        <Action Name="Timer.FindWindow.W1 Start">
            Timer.TimerAction(u'Timer.FindWindow.W1', 0, 0, 1.0, u'FindWindow.W1', False, False, 0, u'00:00:00')
        </Action>
    </Autostart>
    <Macro Name="Find.Window.W1" Expanded="True">
        <Event Name="Timer.FindWindow.W1" />
        <Action>
            Window.FindWindow(u'notepad.exe', None, u'Notepad', None, None, None, False, 0.0, 2)
        </Action>
        <Action Name='If successful jump to "Show OSD: W1 found !"'>
            EventGhost.NewJumpIf(XmlIdLink(10), 0, False)
        </Action>
    </Macro>
    <Macro Name="Show OSD: W1 found !" id="10" Expanded="True">
        <Action Name="Timer.FindWindow.W1 Stop">
            Timer.TimerAction(u'Timer.FindWindow.W1', 4, 1, 1.0, u'', False, True, 1, u'00:00:00')
        </Action>
        <Action Name="Timer.FindWindow.W2 Start">
            Timer.TimerAction(u'Timer.FindWindow.W2', 0, 0, 1.0, u'FindWindow.W2', False, False, 0, u'00:00:00')
        </Action>
        <Action>
            EventGhost.ShowOSD(u'W1 found !', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
        </Action>
    </Macro>
    <Macro Name="Find.Window.W2" Expanded="True">
        <Event Name="Timer.FindWindow.W2" />
        <Action>
            Window.FindWindow(u'calc.exe', u'Calcolatrice', u'SciCalc', None, None, None, False, 0.0, 2)
        </Action>
        <Action Name='If successful jump to "Show OSD: W2 found !"'>
            EventGhost.NewJumpIf(XmlIdLink(18), 0, False)
        </Action>
    </Macro>
    <Macro Name="Show OSD: W2 found !" id="18" Expanded="True">
        <Action Name="Timer.FindWindow.W2 Stop">
            Timer.TimerAction(u'Timer.FindWindow.W2', 4, 1, 1.0, u'', False, True, 1, u'00:00:00')
        </Action>
        <Action Name="Timer.FindWindow.W1 Start">
            Timer.TimerAction(u'Timer.FindWindow.W1', 0, 0, 1.0, u'FindWindow.W1', False, False, 0, u'00:00:00')
        </Action>
        <Action>
            EventGhost.ShowOSD(u'W2 found !', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
        </Action>
    </Macro>
</EventGhost>
