|
-
August 25th, 1999, 08:21 PM
#1
telling if the system has been idle for x minutes
How can I tell if the system has been idle for x amount of minutes?
kinda' like a screen saver runs after x minutes... how can I create an app that runs a prog after x minutes?
thanks.. cube
-
August 30th, 1999, 07:14 AM
#2
Re: telling if the system has been idle for x minutes
Hi
Use WM_TIMMER.
This message will be generated after the time period elapses which you will set using SetTimmer function . At this point you can call your program.
Note - This function will be called every time when the specified interval elapses.
regards
Arun D
Regards
Arun Dayanandan
Software Engineer
Aditi Technologies Pvt Ltd
Redmond US
-
August 30th, 1999, 07:55 AM
#3
Re: telling if the system has been idle for x minutes
You can install keyboard and mouse hooks, and remember time when last user action had performed. If the difference between current time and time when last mouse action had performed is more then X minutes, you can launch the needed program.
Jack Shainsky
Jerusalem, Israel
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|