Jump to content

Help with a simple script


Recommended Posts

At least I think it should be simple. Basically I have a list of exe files I have to run. All I want to do is hit the down arrow once to select the next one in file explorer, hit enter, and hit enter through the prompts. It's failing at the point of hitting the down arrow, not sure what I'm doing wrong here. Any help would be appreciated. I'm using this on Windows Server 2003

WinActivate("8.98 Upgrade ESUs")
Send ("{DOWN 1}")
Sleep(500)
Send("{ENTER}")
Sleep(500)

WinWaitActive("Client Workstation Setup")
Sleep(500)
Send("{ENTER}")
Sleep(500)

WinWaitActive("Client Workstation Installation Setup Type")
Send("{ENTER}")
Sleep(500)

WinWaitActive("Installation Complete")
Send("{ENTER}")
Sleep(500)
Edited by jayshomp
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...