• 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: Detecting user activity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting user activity


  • Subject: Re: Detecting user activity
  • From: email@hidden
  • Date: Wed, 7 Jul 2004 17:42:18 +0200

At 9:03 Uhr -0400 07.07.2004, Jerry LeVan wrote:
I'm working on an app that needs to perform some actions when the system has
been left idle by the user for a certain period of time (something like 5 -
10 minutes).

Is there some straightforward way to do this?

Create a Carbon EventLoopIdleTimer. This is a timer that is called periodically whenever the user has been idle for a while. I just uploaded a Cocoa wrapper class that lets you more easily use an idle timer to my web site, at

http://www.zathras.de/programming/cocoa_stuff.php
--
Cheers,
-- M. Uli Kusterer
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.


References: 
 >Re: Detecting user activity (From: Jerry LeVan <email@hidden>)

  • Prev by Date: Re: Debugging a specific object
  • Next by Date: NSAppleScript and partially launched NSApp
  • Previous by thread: Re: Detecting user activity
  • Next by thread: Bindings and menus
  • Index(es):
    • Date
    • Thread