How to get Monitor/Display power status?

Joined
Oct 1, 2012
Messages
1
Reaction score
0
Points
1
I'd like to write a simple daemon that monitors whether or not the display is currently powered up. This is for a digital signage application, and we need to know if somebody has powered off the display, even though the Mac is still running along just fine.

I'm having a hard time finding the proper notifications (if they even exist) to listen for.

Any ideas? Or do I have to implement some kind of external solution?

Thanks in advance,

Chuck
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top