[comp.sys.mac.programmer] System Idle Time

resnick@cogsci.uiuc.edu (Pete Resnick) (02/22/91)

What would be the best way to figure out the total time the system has
been idle? When I say 'idle time', I mean the total number of seconds
since the last mouse-moved, keydown, mouse-down, disk-insert, or any
action by the user. I don't much care about network events. I am going
to do this in a device driver or VBL, but any suggestions would be
welcome.

pr
--
Pete Resnick             (...so what is a mojo, and why would one be rising?)
Graduate assistant - Philosophy Department, Gregory Hall, UIUC
System manager - Cognitive Science Group, Beckman Institute, UIUC
Internet/ARPAnet/EDUnet  : resnick@cogsci.uiuc.edu
BITNET (if no other way) : FREE0285@UIUCVMD