<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640" Guid="{D5FEBE47-3EF5-4AA5-9A5A-EC508D6BE2B3}" Time="1388892526.34">
    <Autostart Name="Autostart" />
    <Folder Name="dual variable testing">
        <Macro Name="Python Script (init variable setting)" Expanded="True">
            <Event Name="Main.OnInit" />
            <Action>
                EventGhost.PythonScript(u'eg.globals.var1 = True\neg.globals.var2 = True')
            </Action>
        </Macro>
        <Macro Name="eg.globals.var1 = False" Expanded="True">
            <Action>
                EventGhost.PythonCommand(u'eg.globals.var1 = False')
            </Action>
        </Macro>
        <Macro Name="eg.globals.var1 = True" Expanded="True">
            <Action>
                EventGhost.PythonCommand(u'eg.globals.var1 = True')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(417), 2, False)
            </Action>
        </Macro>
        <Macro Name="eg.globals.var2 = False" Expanded="True">
            <Action>
                EventGhost.PythonCommand(u'eg.globals.var2 = False')
            </Action>
        </Macro>
        <Macro Name="eg.globals.var2 = True" Expanded="True">
            <Action>
                EventGhost.PythonCommand(u'eg.globals.var2 = True')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(417), 2, False)
            </Action>
        </Macro>
        <Macro Name="Python Script (checker)" id="417" Expanded="True">
            <Action>
                EventGhost.PythonScript(u'if eg.globals.var1 and eg.globals.var2:\n    eg.TriggerEvent("BothTrue")')
            </Action>
        </Macro>
        <Macro Name='print "Your Action"' Expanded="True">
            <Event Name="Main.BothTrue" />
            <Action>
                EventGhost.PythonCommand(u'print "Your Action"')
            </Action>
        </Macro>
    </Folder>
</EventGhost>
