Sign in to follow this  
Followers 0
Zohar

Can my Script Detect when I Switch the Screen's(Monitor's) Power Off?

3 posts in this topic

I hope anyone knows.

I specifically, use a DVI connected screen, digital of course.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

It is possible, you probably need to do some dllcalls, I'm gonna do some research :)

Check this out

http://msdn.microsoft.com/en-us/library/ms646360%28VS.85%29.aspx

http://stackoverflow.com/questions/203355/is-there-any-way-to-detect-the-monitor-state-in-windows-on-or-off

http://cboard.cprogramming.com/windows-programming/103275-monitor-state-detection.html#post755126

Edited by Chris86

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

hello chris :)

after reading the links, it looks like it is not really possible.

especiialy if what we wish to track down is Power On/Off which is done via the Screen's Power Button(and not via code)..

too bad, it could've been a useful event..

thank you very much for your reply

Edited by Zohar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0