Sign in to follow this  
Followers 0
MadSc13ntist

Hotkey for "Scan for hardware changes"

4 posts in this topic

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....

Share this post


Link to post
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
1 person likes this

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

Yeah... that's about what i have for now... ah well... it's cool.. as long as she works that's the main thing... and in this case it's for a 'fire and forget' script so it's all good... Thanks CyberSlug! much props!

Peace,

\\--<!>Mad Sc13ntist<!>---+

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0