Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Get Monitor Power Status

If you have a question or need help, this is the place to be.
Post Reply
User avatar
level20peon
Posts: 24
Joined: Sun Dec 02, 2007 2:58 pm

Get Monitor Power Status

Post by level20peon »

Hey,

is there any way to let EG check for the Monitor Power Status ? I want to integrate this into a script as a condition so the script will only execute when the Monitor is Powered off (blanked) and not when it displays anything.


-level20peon
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: Get Monitor Power Status

Post by stisev »

I ditto this request. I'm interested as well and will be monitoring this thread.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Get Monitor Power Status

Post by Bitmonster »

I don't know any way to get this information in an event-driven way from the system.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: Get Monitor Power Status

Post by CollinR »

You could do it old school and put a relay where the power LED is and have it close contacts on a joystick.

LED lit = joystick button down
LED off = joystick button up
jakebullet70
Posts: 7
Joined: Sat Dec 15, 2007 1:34 pm
Location: Kherson, Ukriane

Re: Get Monitor Power Status

Post by jakebullet70 »

You need to watch the WM_POWERBROADCAST message

More info...
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Get Monitor Power Status

Post by Bitmonster »

EG already is monitoring WM_POWERBROADCAST, but there is no reliable event for monitor power states (at least for XP).
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply