Hello,
Thank you Blaher.
You said:
... why do you want to press the button manually, and not have it happen automatically and why the toggle, instead of a button for monitor off, and monitor on?
First, I want the toggle function because my remote have not a lot of free button. That's with my
Eventghost Macro have to read screen's state (On or Off) to change this state.
Second, If I want to
Switch Off the screen exactily when I want, I have to push a button isn't it?
Example:
I want to ear music. I take my remote controller, start XBMC, choose my music, play it. No problem...
Now I want to
Switch Off the screen by my remote controller. Then I press one button.
For your information : I'm not English, I'm French. It's not so easy to explain my problem. Sorry.
Thank you for your support.
A little piece of my Evantghost Macro - the toggle function:
-
<Folder Name="Toggle screen On / Off">
<Macro Name="Re-enable monitor" id="49" Enabled="False">
<Event Name="AtiRemoteWonder2.Help" />
<Action>System.PlaySound(u'D:\\Yvan\\Sauvegarde\\EventGhost\\Sons\\Son 1.wav', 1)</Action>
<Action>System.MonitorPowerOn()</Action>
<Action>Window.Maximize()</Action>
<Action>EventGhost.EnableExclusive(XmlIdLink(55))</Action>
</Macro>
<Macro Name="Set monitor into power-off mode" id="55">
<Event Name="AtiRemoteWonder2.Help" />
<Action>System.PlaySound(u'D:\\Yvan\\Sauvegarde\\EventGhost\\Sons\\Son 1.wav', 1)</Action>
<Action>System.MonitorPowerOff()</Action>
<Action>EventGhost.EnableExclusive(XmlIdLink(49))</Action>
</Macro>
</Folder>