03-19-2009, 08:59 AM
I would like to make a program that triggers a timer to wait x minutes before actually going into hibernation...if a key or mouse are used within the wait period, then the timer would be reset. This way if I am on the computer after hours I don't have to worry about the whole thing going into hibernation while I am in the middle of something. I thought about using a dialog that would wait for cancel to be clicked to avoid going into hibernation, but then I'd always have to remember to hibernate manually when was done.
For example I would schedule a task to run an exe at 8:00pm. If the mouse and keyboard have not been used by 8:10 the computer will go into hibernation. If the mouse gets used at 8:05 then the computer would reset the timer for another 10minutes from the point when the mouse was no longer being used.
Could you please give an example of this?
Thanks,
Jimmy Vig
For example I would schedule a task to run an exe at 8:00pm. If the mouse and keyboard have not been used by 8:10 the computer will go into hibernation. If the mouse gets used at 8:05 then the computer would reset the timer for another 10minutes from the point when the mouse was no longer being used.
Could you please give an example of this?
Thanks,
Jimmy Vig
