<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640" Guid="{7A94FB89-8C2A-40DC-9D6C-E8913E09D503}" Time="1388800720.56">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin Identifier="OnkyoISCP" Guid="{5B3B8AEB-08D7-4FD0-8BEE-8FE50C231E09}" File="OnkyoISCP">
            gAJYDwAAADE5Mi4xNjguMTY4LjE5NHEATeDqWAEAAAAxcQGHcQIu
        </Plugin>
        <Action>
            OnkyoISCP.SendCommand(u'PWRQSTN')
        </Action>
    </Autostart>
    <Folder Name="Receiver On" id="5" Expanded="True">
        <Macro Name="Comment" Expanded="True">
            <Event Name="Remote.Start" />
            <Action Name="Run macros without starting everything">
                EventGhost.Comment()
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Receiver Off" id="9" Enabled="False" Expanded="True">
        <Macro Name="Comment" Expanded="True">
            <Event Name="Remote.Start" />
            <Action Name="Run macros starting AV equipment">
                EventGhost.Comment()
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Checks if Receiver's On" Expanded="True">
        <Macro Name="Off" Expanded="True">
            <Event Name="OnkyoISCP.PWR00" />
            <Action>
                EventGhost.DisableItem(XmlIdLink(5))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(9))
            </Action>
        </Macro>
        <Macro Name="On" Expanded="True">
            <Event Name="OnkyoISCP.PWR01" />
            <Action>
                EventGhost.DisableItem(XmlIdLink(9))
            </Action>
            <Action>
                EventGhost.EnableItem(XmlIdLink(5))
            </Action>
        </Macro>
    </Folder>
</EventGhost>
