Sign in to follow this  
Followers 0
copiche

Drop Down menu selection not working. Help please!. Tks

3 posts in this topic

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.jpg

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

 

 

 

 

 

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by dcat127

Share this post


Link to post
Share on other sites

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

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  
Followers 0