Jump to content

Hotkey for "Scan for hardware changes"


Recommended Posts

Does anyone know off the top of their head if there is a hotkey to "Scan for hardware changes" (in Computer Managment\Device Manager...)

or if there isn't a hotkey... does anyone know how to perform the scan without the use of the mouse?

Just asking... otherwise i have to go and use mouse clicks... i just try to avoid it when i can...

Geez... i am useless this morning....

Link to comment
Share on other sites

I don't know of a good way.... Here's one that relies on Send..... It's better to use ControlSend, but SysTreeViews are not really supported yet.

$title = "Computer Management"
Run("mmc.exe compmgmt.msc", @SystemDir)
WinWait($title)
Send("d")
Send("{TAB}")
sleep(2000);hard-coded delay...
Send("{AppsKey}a") ;bring up right-click menu
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Does anyone know off the top of their head if there is a hotkey to "Scan for hardware changes" (in Computer Managment\Device Manager...)

or if there isn't a hotkey... does anyone know how to perform the scan without the use of the mouse?

Just asking... otherwise i have to go and use mouse clicks... i just try to avoid it when i can...

Geez... i am useless this morning....

<{POST_SNAPBACK}>

The command-line utility "devcon" referenced in the following thread can be told to do a re-scan. It may help in your situation...

nap

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...