Skip navigation.
 
mlRe: System Idle Time ... again ...
FROM : M. Uli Kusterer
DATE : Sun May 01 14:10:46 2005

At 8:43 Uhr +0000 26.04.2005, Mike Lewis wrote:
>I implemented system idle timer according to the advice given here
>some months ago
>(http://www.cocoabuilder.com/archive/message/cocoa/2004/10/27/120354),
>but unfortunately this piece of code crashes on Tiger. I also tried
>to use CGSSecondsSinceLastInputEvent, as pointed out by Evan, but it
>gives me linker error: "undefined symbols
>CGSSecondsSinceLastInputEvent". I inserted the prototype and tried
>to link ApplicationServices framework but still can't get rid of
>this error. Is there something obvious I'm missing?


What exactly are you trying to do? If you're mainly interested in
doing something after the user's been idle for a while, your best bet
may be using a Carbon EventLoopIdleTimer. I wrote a wrapper class
around that. If it's not on my web site, let me know and I'll put it
up or send you a link.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
        "The Witnesses of TeachText are everywhere..."
                    http://www.zathras.de

Related mailsAuthorDate
mlSystem Idle Time ... again ... Mike Lewis Apr 26, 10:43
mlRe: System Idle Time ... again ... Mike Paquette Apr 30, 02:06
mlRe: System Idle Time ... again ... Dan Messing May 1, 02:34
mlRe: System Idle Time ... again ... M. Uli Kusterer May 1, 14:10