probedrone Posted August 11, 2006 Posted August 11, 2006 I have a device installed on the system that sometimes crash when running certain programs, I need to make a autoit script that can disable and enable that device whenever i want. The thing is that I dont want to use mouseclicks (unreliable) since I might use this program on different computers, so does anyone know a way to access device manager and working with it without mouseclicks? Or even better, is there some value I can change in the registry that will do the same thing?
Moderators SmOke_N Posted August 11, 2006 Moderators Posted August 11, 2006 ProcessClose() and Run()? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
probedrone Posted August 11, 2006 Author Posted August 11, 2006 ProcessClose() and Run()?Can you go into more detail on how that works? I think it will close/run a program, not disable a device...
Helge Posted August 12, 2006 Posted August 12, 2006 The DevCon utility is a command-line utility that acts as an alternative to Device Manager.Using DevCon, you can enable, disable, restart, update, remove, and query individualdevices or groups of devices. DevCon also provides information that is relevant to thedriver developer and is not available in Device Manager.Link : http://support.microsoft.com/default.aspx?...b;EN-US;Q311272
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