• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to setup idle timer in 64-bit 10.6?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to setup idle timer in 64-bit 10.6? (From: Marc Respass <email@hidden>)

  • Prev by Date: 32/64-bit transition and memory expansion
  • Next by Date: Where to find?
  • Previous by thread: Re: How to setup idle timer in 64-bit 10.6?
  • Next by thread: Re: How to setup idle timer in 64-bit 10.6?
  • Index(es):
    • Date
    • Thread