jayshomp Posted October 9, 2009 Share Posted October 9, 2009 (edited) 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 October 9, 2009 by jayshomp Link to comment Share on other sites More sharing options...
Zedna Posted October 9, 2009 Share Posted October 9, 2009 (edited) Try this:WinActivate("8.98 Upgrade ESUs") WinWaitActive("8.98 Upgrade ESUs") Send ("{DOWN}") ...EDIT: you may also use ControlSend() instead of Send() Edited October 9, 2009 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jayshomp Posted October 9, 2009 Author Share Posted October 9, 2009 Thank you for the reply. Of course the project just got put on hold so I can't even test it right now but I will later. Thanks again! 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