• 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
Notification for Idle Time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notification for Idle Time?


  • Subject: Notification for Idle Time?
  • From: Christopher Hickman <email@hidden>
  • Date: Mon, 10 Dec 2007 12:42:23 -0800

Hello all,

I'm working on something that needs to know when the computer has had no user input for a period of time.  How does the Screensaver Engine know when the user has been idle long enough to start?  I need to do the same thing and I can't find any Cocoa methods that provide that information.

I found something that suggested I could get this information from IOKit, but it looks like I'd have to constantly poll the idle time, and polling sucks.  Anyone know if there is an NSNotification I can receive for idle times?

Thanks,
Christopher
_______________________________________________

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

  • Follow-Ups:
    • Re: Notification for Idle Time?
      • From: Ron Fleckner <email@hidden>
  • Prev by Date: NSTextAttachment dynamic resize?
  • Next by Date: How can I create a multipage PDF?
  • Previous by thread: Re: NSTextAttachment dynamic resize?
  • Next by thread: Re: Notification for Idle Time?
  • Index(es):
    • Date
    • Thread