Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Checking that local Windows machine is idle

by Corion (Pope)
on Feb 04, 2001 at 06:29 UTC ( #56269=note: print w/replies, xml ) Need Help??


in reply to Checking that local Windows machine is idle

If your program is to be run while the computer is idle, why not simply set your perl script as the screensaver under Windows ?

A Win32 screensaver will be executed when the computer thinks so. For configuration, it will be started with the /c command line switch.

You can then either use your script as the screensaver or let your script run all the time and just let the screensaver program tell your script that it should now run.

  • Comment on Re: Checking that local Windows machine is idle

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://56269]
help
Chatterbox?
[1nickt]: chacham I have wanted to, and dones so, and so stated in a reply, and been roundly downvoted 2-1. (I assume for attempting to censor.)
[1nickt]: pryrt yes, I see. There is no way to differentiate without forcing to a string and all sort of weird stuff. It is enough. User 42 can get creative if s/he wishes.
[chacham]: i sent him a private message expressing my displeasure.
[1nickt]: chacham It was worse than 2-1 ! almost 4-1 !

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2017-05-24 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?