Jump to content
Sign in to follow this  
CharlieNoyes

Send Function Help

Recommended Posts

CharlieNoyes

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

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  

×