Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Check pc if idle

Posted on 2003-03-19
Medium Priority
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...
Question by:virus05

Expert Comment

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.

Expert Comment

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.

Accepted Solution

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.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

572 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