Guest autoit_noob Posted September 29, 2004 Posted September 29, 2004 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
MHz Posted September 29, 2004 Posted September 29, 2004 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?
Guest autoit_noob Posted September 29, 2004 Posted September 29, 2004 (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 September 29, 2004 by autoit_noob
napgravy Posted September 29, 2004 Posted September 29, 2004 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.
Guest autoit_noob Posted September 30, 2004 Posted September 30, 2004 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!
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