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

System Idle Time ... again ...


  • Subject: System Idle Time ... again ...
  • From: "Mike Lewis" <email@hidden>
  • Date: Tue, 26 Apr 2005 08:43:53 +0000

Hi!

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?

As I understand this is an undocumented function, so can somebody from Apple tell us, what is the official way of getting system idle time on Tiger?

Best regards,
M.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


_______________________________________________
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


  • Follow-Ups:
    • Re: System Idle Time ... again ...
      • From: Mike Paquette <email@hidden>
  • Prev by Date: Re: bind, unbind and retainCount problems
  • Next by Date: Re: determining front most document?
  • Previous by thread: Re: determining front most document?
  • Next by thread: Re: System Idle Time ... again ...
  • Index(es):
    • Date
    • Thread