?
Solved

Check pc if idle

Posted on 2003-03-19
3
Medium Priority
?
232 Views
Last Modified: 2010-04-04
Hello experts,

      Can anyone show me a code for determining if a pc has been idle for a certain period of time...

Thanks in advance...
0
Comment
Question by:virus05
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:mocarts
ID: 8172497
what yoy mean with pc? your programm or processor?
processor never will be idle for 100% as there can be blinking cursors, looping message queues etc.

wbr, mo.
0
 

Expert Comment

by:mertdogan
ID: 8173199
You can add a Sheduled Task event and set up it as if computer is idle will be runed. You can make a single additional program that sends command to your main program if task started.
0
 
LVL 1

Accepted Solution

by:
SimesA earned 200 total points
ID: 8173430
You could start a thread with the tpIdle priority. It will run when the PC is idle.

If by idle, you mean the user isn't doing anything, watch for mouse movement or key presses.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question