sgeva Posted October 24, 2008 Share Posted October 24, 2008 I need a command which will do the same thing as I am doing with my mouse when I want to safely remove hardware which is connected in USB. It can be mp3 portable player or disk on key or a cammera. thank you Link to comment Share on other sites More sharing options...
komalo Posted October 24, 2008 Share Posted October 24, 2008 check out http://www.autoitscript.com/forum/index.ph...remove+hardwarehttp://www.autoitscript.com/forum/index.ph...remove+hardware [font="Palatino Linotype"][size="3"]AutoIt Script Examples :[/size][/font][font="Palatino Linotype"][size="3"]_CaptureBehindWindowGlass CMD for Windows Vista/Seven[/size][/font][left][/left][font="Palatino Linotype"][size="3"]Non AutoIt Script programs : Border Skin - Aero Glass On XP[/size][/font] Link to comment Share on other sites More sharing options...
Pain Posted October 24, 2008 Share Posted October 24, 2008 http://support.microsoft.com/default.aspx?...kb;en-us;165721http://msdn.microsoft.com/en-us/library/ms790831.aspxIf you got problem to translate it into AutoIt code just reply and I might give it a try if not anyone else finish it before me. It doesn't look all that hard to translate it. Link to comment Share on other sites More sharing options...
sgeva Posted October 28, 2008 Author Share Posted October 28, 2008 http://support.microsoft.com/default.aspx?...kb;en-us;165721http://msdn.microsoft.com/en-us/library/ms790831.aspxIf you got problem to translate it into AutoIt code just reply and I might give it a try if not anyone else finish it before me. It doesn't look all that hard to translate it. Thank youBut for me it is a problem. Link to comment Share on other sites More sharing options...
sgeva Posted October 28, 2008 Author Share Posted October 28, 2008 check out http://www.autoitscript.com/forum/index.ph...remove+hardwarehttp://www.autoitscript.com/forum/index.ph...remove+hardwareIf I conclude what I understand:simply run a cmd :"rundll32.exe shell32.dll,Control_RunDLL hotplug.dll" ?Can I translate it to a function in Autoit? how?thank you Link to comment Share on other sites More sharing options...
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