Re: Detecting user activity
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.