• 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: System Idle Time ... again ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Idle Time ... again ...


  • Subject: Re: System Idle Time ... again ...
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sun, 1 May 2005 14:10:46 +0200

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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Apple's Help Viewer
  • Next by Date: Re: Cocoa development with X-Code
  • Previous by thread: Re: Apple's Help Viewer
  • Next by thread: Selector not working for me
  • Index(es):
    • Date
    • Thread