Programmatically killing the screen saver
Programmatically killing the screen saver
- Subject: Programmatically killing the screen saver
- From: Christian Mike <email@hidden>
- Date: Wed, 24 Oct 2001 08:07:51 -0500
I will be using an OS X based Macintosh to control a piece of equipment. The
operators of this equipment will quite often enable a screen saver. In
pre-OSX, we could kill the screen saver at critical times by simply
programmatically posting a "do-nothing" keyboard event (like a keyDown on
the shift key) into the application's event loop. I would like to accomplish
the same thing under OS X.
Is there an "approved" way to kill a screen saver if it is active? Even if
it's not approved, I'll take it.
I only care about "unprotected" screen savers. If the operator configures a
password protected screen saver, that's his own problem.
Thanks.
Michael Christian
Thomson multimedia Inc.