sgifford has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing a Perl application that, for various reasons, needs to know how long it's been since the user has been actively using the computer, that is, how long since the last mouse or keyboard activity. I can detect this on Unix with X11::IdleTime and by looking at tty mtime's, and I found a node about detecting idle time on Windows. But I haven't found a way to do this on Mac yet.
Any ideas?
Thanks!!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Detecting idle time on Mac
by Fletch (Bishop) on Sep 14, 2006 at 12:31 UTC | |
by sgifford (Prior) on Sep 14, 2006 at 13:12 UTC | |
by Fletch (Bishop) on Sep 14, 2006 at 14:36 UTC | |
Re: Detecting idle time on Mac
by borisz (Canon) on Sep 14, 2006 at 08:54 UTC |
Back to
Seekers of Perl Wisdom