MadSc13ntist Posted December 1, 2004 Posted December 1, 2004 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....
CyberSlug Posted December 1, 2004 Posted December 1, 2004 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 Ninjaneer 1 Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
MadSc13ntist Posted December 1, 2004 Author Posted December 1, 2004 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<!>---+
napgravy Posted December 1, 2004 Posted December 1, 2004 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now