954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

auto timeout/time expires of application

I want to create a program that will close itself when the user was idle(not touching/moving the mouse and keyboard) for about 5 minutes...but I have a problem in how to track a user's idle time so that I could set the closing action. Could anyone give me a simple example?

kedakai
Newbie Poster
11 posts since Dec 2008
Reputation Points: 10
Solved Threads: 0
 
I want to create a program that will close itself when the user was idle(not touching/moving the mouse and keyboard) for about 5 minutes...but I have a problem in how to track a user's idle time so that I could set the closing action. Could anyone give me a simple example?

Hi,

You can find some explanation about detecting the Idle time with Mouse and Keyboard hooks, here.

Luc001
Posting Whiz
376 posts since Mar 2010
Reputation Points: 85
Solved Threads: 98
 

I've made it before I read your reply, anyway thanks a lot ^__^...
I will explore this too...

kedakai
Newbie Poster
11 posts since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: