Sign in to follow this  
Followers 0
Guest autoit_noob

How to select items in the device manager?

5 posts in this topic

Hi everyone!

I've got aproblem and I'm not sure if you can help / if it's possible to do what I want with autoit.

I would like to open the preferences window of a device listened in the device manager (see screenshot), but the autoit window spy doesn't show any information of the listened devices.

Is it possible to access the preferences of a certain device (it has to identified by the device's name)?

Excuse my bad english, I hope you understood what I tried to do...

autoit_noob

Share this post


Link to post
Share on other sites



You could try to uses sends instead.

Opt("SendKeyDelay", 50)
run(@comspec & ' /c ' & @SystemDir & "\devmgmt.msc", @SystemDir, @sw_hide)
Sleep(3000)
Send("{TAB}")
Send("me")
Send("{RIGHT}")
send("{DOWN}")
Send("MOXA")
Send("{ENTER}")

This example may be helpful? :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Wow! Thx MHz! Works perfect :)

Didn't know that it would be so simple.. maybe I have to think in a different way about window's windows in the future :)

Edited by autoit_noob

Share this post


Link to post
Share on other sites

You could also look for a free download utility called "devcon" on Microsoft's website. It allows full command-line access to device manager. I've used it many times in the past and its very handy.

Share this post


Link to post
Share on other sites

You could also look for a free download utility called "devcon" on Microsoft's website.  It allows full command-line access to device manager.  I've used it many times in the past and its very handy.

<{POST_SNAPBACK}>

"devcon" looks nice, too bad that the script is almost working. Thanks for the tip napgravy!

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