• 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: Jerry LeVan <email@hidden>
  • Date: Wed, 7 Jul 2004 09:03:42 -0400

You could periodically check HIDIdleTime ( 64 bit integer,
gives idle time in ns).

A google search for HIDIdleTime will give you all you need.

Jerry
On Jul 7, 2004, at 5:52 AM, email@hidden wrote:

Subject: Detecting user activity
From: Eric Blanpied <email@hidden>
To: Cocoa Dev <email@hidden>

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?
_______________________________________________
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.


  • Follow-Ups:
    • Re: Detecting user activity
      • From: email@hidden
  • Prev by Date: Re: erasing, redrawing NSBezierPath into and NSImage problem
  • Next by Date: NSTableView --- Cocoa Newbie
  • Previous by thread: Detecting user activity
  • Next by thread: Re: Detecting user activity
  • Index(es):
    • Date
    • Thread