Get computer idle timeby bofh_of_oz (Hermit)
|on Jun 30, 2005 at 19:38 UTC ( #471443=perlquestion: print w/replies, xml )||Need Help??|
bofh_of_oz has asked for the wisdom of the Perl Monks concerning the following question:
Most venerable Monks,
I wonder if it is possible to get the amount of time since last activity on the computer (in Windows), similar to the way a screensaver is shown only after X amount of inactivity...
The reason for this is that I want to automate my "time on call" spreadsheet submittal. I managed to make it modify the cells needed and to print the document - but as it is confidential, I need to print it only when I'm at the computer so that I can go and pick it up, and this inactivity time seems to be a good way to do it... that is, if I can make it work...
Any advice appreciated.
Back to Seekers of Perl Wisdom