Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Track an Idle computer
Message
From
15/01/2004 18:02:56
 
 
To
15/01/2004 17:34:13
Jeff Mckay
Utah Department of Health
Salt Lake City, Utah, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00867308
Message ID:
00867321
Views:
27
Hi, Jeff.

>I am trying to track when a computer has been idle for so many minutes, 10 or so.
>Is there a way to track that with one call, or a relatively simple way that anyone has determined??
>
>Basically what I need to do is throw up a logon screen if the computer is idle and force the user to logon on again. This is a security requirement that I have to meet

You can use a timer and keep traking of some combination of mouse position, lastkey(), activeform, etc. Maybe you can add code to the mouseover event of most your controls, where you update an app-wide object property with seconds().

Let me know if you want more about this method.

Hope this helps,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform