Jump to content

Send Function Help


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...