With AS, can I trace that user hasn't been operating on the computer for a while, say 5 miniutes, and then do something?
theoretically speaking, to detect that there is no mouse or keyboard event for certain a period of time, and then do something~~ just like screensaver of Widows~~
Thanks in advance...
You can use the setTimeout() and clearTimeout() functions. A setTimeout call would be initiated at the start and anytime some user interactivity is detected (key down, key up, mouse down, mouse up) the clearTimeout() function would be called and a new setTimeout function be initiated. The function that the setTimeout function calls would process whatever command you intend at the 5 minute mark (300,000 msec).