We don't bite newbies here... much | |
PerlMonks |
Re: Sense Mouse Movement?by lodin (Hermit) |
on Feb 20, 2009 at 01:45 UTC ( [id://745253]=note: print w/replies, xml ) | Need Help?? |
BrowserUK provides a fully working example in Re^3: Win32 idle state (Updated), using Win32::API (or rather Win32::API::Prototype, but see my reply) to check when windows last registered any user input. If you need to know the current tick count you can use GetTickCount() in the Win32 module. Be aware of that the tick count wraps when it becomes too large, so you probably want check against that if you computer runs for more than 49 days. lodin
In Section
Seekers of Perl Wisdom
|
|