Re: notification on screensaver unlock ?
Re: notification on screensaver unlock ?
- Subject: Re: notification on screensaver unlock ?
- From: Andrew Farmer <email@hidden>
- Date: Fri, 19 Jan 2007 12:34:42 -0800
On 19 Jan 07, at 12:06, Will Norris wrote:
This last step is the only problem... how can I determine when the
screen has been unlocked? At first I tried listening for the
com.apple.screensaver.didstop notifcation. The problem there is
that the screensaver stops (and sends the notification) whenever
the login box is displayed, regardless of whether the
authentication was successful or not.
I've run into this myself. A bit of otooling around suggests that the
answer lies in an undocumented CGS call "CGSRegisterNotifyProc". Argh.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden