CharlieNoyes Posted March 25, 2014 Share Posted March 25, 2014 Trying to get disk management to open, then open the context menu (by default c: is selected), then send "h" to navigate to shrink volume, then enter to open that dialog. Is something wrong with my code? ShellExecute("mmc.exe", "diskmgmt.msc") ; Run Disk Management Sleep(1000) ;wait Send("+{F10}") ;open menu Send("h") ;highlight shrink volume Send("{Enter}") ;send enter key Link to comment Share on other sites More sharing options...
JohnOne Posted March 25, 2014 Share Posted March 25, 2014 Add some Sleep time between calls. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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