copiche Posted January 22, 2014 Posted January 22, 2014 Hello, I have a script that is supposed to launch an ICA file and then it is supposed to login with a username and password which it does with no problems. However I need to make autoit choose an ALT+L+L then {Down} and then choose the "Show Board" drop down option which has the underlined "B" in the drop down menu, shown here: Autoit, then hangs in the above screen (it chooses the ALT+L+L{Down} option fine); however the "Show Board" never happens and it stays in the above stage. Here is my Autoit Script: Run("c:program filescitrixica clientwfica32.exe C:surginettrackingSurginetTrackingGreaseboard.ica") Sleep(20000) Send("xxxxxx") sleep(1000) Send("{TAB}") Sleep(1000) Send("xxxxxxx") Sleep(1000) Send("{ENTER}") Sleep(9000) WinWaitActive("SNSurgiNet Organizer for SURGINET, SNCSGI - Remote") Send("!ll{DOWN}B") While ProcessExists("wfica32.exe") Sleep(10000) WEnd Shutdown(0) Any help is greatly appreciated. Thanks
Solution dcat127 Posted January 22, 2014 Solution Posted January 22, 2014 (edited) It is hard to guess why it does not work without having the program that you are using it with. Normally you do not need to send the {DOWN} as sending the l should open the menu. I would try adding a sleep before sending the B. Also try both upper and lowercase b Send("!ll") Sleep(500) Send("B") Alternatively you could use. Send("!ll") Sleep(500) Send("{DOWN 9}{ENTER}") Edited January 22, 2014 by dcat127
copiche Posted January 22, 2014 Author Posted January 22, 2014 That did it!, the Sleep was missing. I kept the {DOWN} in like: Send("!ll{DOWN}") Sleep(500) Send("B") And it worked!. Thank you very much
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