Re: Detecting Screensaver
Re: Detecting Screensaver
- Subject: Re: Detecting Screensaver
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 4 Aug 2003 16:38:08 +0200
At 8:55 Uhr +0200 04.08.2003, Bart Matthaei wrote:
I want my application to detect a Screensaver launch.
Does anyone have a clue how to do this properly ?
Last time I was asked, I was told to periodically call sysctl() to
detect whether a Unix application named "screensaverengin" (no "e" at
the end) was running. In my case that worked, because my app had to
periodically do something anyway.
Not sure whether there's an "official" way by now.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.