Re: How to setup idle timer in 64-bit 10.6?
Re: How to setup idle timer in 64-bit 10.6?
- Subject: Re: How to setup idle timer in 64-bit 10.6?
- From: "Paul Sanders" <email@hidden>
- Date: Mon, 10 May 2010 22:48:11 +0100
> My application has a requirement that it "locks out" the user after X minutes of inactivity.
I would override [NSApplication sendEvent:] and watch for mouse, keyboard and gesture events. In addition, have a timer running which can check periodically when the last such was received. Then you will know when to take action.
Paul Sanders.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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