[comp.sys.mac.programmer] Inactivity detection

cosmos@druhi.ATT.COM (Ronald A. Guest) (06/30/88)

I have a program I hacked together that does locking of the Macintosh.  It's
a program that runs under Multifinder, rather than a DA, and is therefore
easier to invoke.  It also remembers your original password until you quit
the application.  However, I would like to enhance it to automatically lock
after a certain period of inactivity, a la the screen saver programs.  Is
there any way to detect this in an application?  Most program that do it
seem to be INITs.  I'm not much of a Mac hack, so sorry if the answer is
obvious.  Any help would be much appreciated.
Thanks,

Ronald A. Guest, Supervisor     ...!ihnp4!druhi!cosmos
AT&T Laboratories               <--- but these are my thoughts, not theirs
12110 N. Pecos St.              Denver, Colorado 80234          (303) 538-4896