<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1700" Guid="{380ACEC5-BE7D-4898-8E01-DAA6AD657056}" Time="1447627295.74">
    <Autostart Name="Autostart" Expanded="True">
        <Action Name="Determine weekday">
            EventGhost.PythonScript(u'from datetime import date\nimport calendar\nmy_date = date.today()\neg.globals.weekday = calendar.day_name[my_date.weekday()]\nprint "Today is "+eg.globals.weekday\neg.TriggerEvent(eg.globals.weekday)')
        </Action>
        <Action Name="Activate the above if you want it run with eg start">
            EventGhost.Comment()
        </Action>
        <Plugin Identifier="Speech" Guid="{76A1638D-1D7D-4582-A726-A17B1A6FC723}" File="Speech">
            gAIpLg==
        </Plugin>
    </Autostart>
    <Macro Name="Trigger event triggered manually by F7">
        <Action Name="Determine weekday">
            EventGhost.PythonScript(u'from datetime import date\nimport calendar\nmy_date = date.today()\neg.globals.weekday = calendar.day_name[my_date.weekday()]\nprint "Today is "+eg.globals.weekday\neg.TriggerEvent(eg.globals.weekday)')
        </Action>
        <Action Name="Only have it run if not run before in the autostart">
            EventGhost.Comment()
        </Action>
    </Macro>
    <Folder Name="Weekday profiles" Expanded="True">
        <Macro Name='Trigger event "Sunday"'>
            <Action>
                EventGhost.TriggerEvent(u'Sunday', 0.0)
            </Action>
        </Macro>
        <Macro Name="Monday">
            <Event Name="Main.Monday" />
            <Action Name="Your Action for Monday">
                EventGhost.Comment()
            </Action>
            <Action Name="You might need to change the Main.Monday event to your local word for Monday">
                EventGhost.Comment()
            </Action>
        </Macro>
        <Macro Name="Thuesday">
            <Event Name="Main.Thuesday" />
            <Action Name="Your Action">
                EventGhost.Comment()
            </Action>
            <Action>
                System.Execute(u'C:\\Windows\\System32\\notepad.exe', u'', 0, False, 2, u'C:\\Windows', False, False, u'', False, False, False)
            </Action>
            <Action>
                EventGhost.Wait(3.0)
            </Action>
            <Action>
                Speech.TextToSpeech(u'IVONA Brian - British English male voice [22kHz]', 0, u'hello mr smith good day to you, i am up and ready, are you sir?', 0, 100)
            </Action>
        </Macro>
        <Macro Name="Wednesday">
            <Event Name="Main.Wednesday" />
            <Action Name="Your Action">
                EventGhost.Comment()
            </Action>
        </Macro>
        <Macro Name="Comment">
            <Action Name="Add the rest of the week here">
                EventGhost.Comment()
            </Action>
        </Macro>
        <Folder Name="Sunday" Expanded="True">
            <Macro Name="Sunday" Enabled="False" Expanded="True">
                <Event Name="Main.Sunday" />
                <Action Enabled="False">
                    System.Execute(u'C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe', u'', 0, False, 2, u'C:\\Program Files (x86)', False, False, u'', False, False, False)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(30))
                </Action>
            </Macro>
            <Macro Name="Sunday 1" id="30" Enabled="False" Expanded="True">
                <Event Name="Main.Sunday" />
                <Action>
                    Speech.TextToSpeech(u'IVONA Brian - British English male voice [22kHz]', 0, u'Hello Sir  ', 0, 100)
                </Action>
                <Action>
                    EventGhost.Wait(8.0)
                </Action>
                <Action>
                    Speech.TextToSpeech(u'Microsoft Zira Desktop - English (United States)', 0, u'The time is {TIME} and this date  is {DATE}', 0, 100)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(36))
                </Action>
            </Macro>
            <Macro Name="Sunday 2" id="36" Expanded="True">
                <Event Name="Main.Sunday" />
                <Action>
                    Speech.TextToSpeech(u'IVONA Amy - British English female voice [22kHz]', 0, u'you cannot be serious ,i am here ready to start and you still at home?', 0, 100)
                </Action>
                <Action>
                    EventGhost.EnableExclusive(XmlIdLink(40))
                </Action>
            </Macro>
            <Macro Name="Sunday 3" id="40" Enabled="False" Expanded="True">
                <Event Name="Main.Sunday" />
                <Action>
                    Speech.TextToSpeech(u'IVONA Brian - British English male voice [22kHz]', 0, u'please tell no one about this.,  i cannot remember if all was included ,so let me go back and check: ok?', 0, 100)
                </Action>
            </Macro>
        </Folder>
    </Folder>
</EventGhost>
