Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Visual Basic - Detect if the computer is idle


  • Please log in to reply

#1
HannibalGraham

HannibalGraham

    Member

  • Member
  • PipPip
  • 12 posts

I've been trying to get my computer to recognize if it's idle or not since I want the computer scheduled to shut down, but I don't always want it to shut down right away. Problem is, the scheduler built into windows just immediately shuts the computer down regardless if I'm idle, let alone waiting for idle at all. I already have a good idea on how to do it, but I have no idea how to check the idle status. I've looked and I can't really find anything that helps me. Also need to have the timer to restart if it comes out of idle, since I want it idle for at least 15 minutes before it shuts down.


Edited by HannibalGraham, 09 February 2017 - 12:55 PM.

  • 0

Advertisements


#2
RKinner

RKinner

    Malware Expert

  • Expert
  • 24,625 posts
  • MVP

See if this works for you:

 

http://www.vbforfree...dle-systemwide/


  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP