Sign in to follow this  
Followers 0
willwatters

Cannot select an option from drop down menu

2 posts in this topic

In an application i'm using, one of the options in a drop down menu will not be selected when I run my autoit script. Part of this script is displayed below:

;Select custom reports from the reports drop down menu

send("!e")

sleep(1000)

ControlCommand("CLMS - Northbook Technology - Magee Campus - [<< Main CLMS >>]", "", "", "TabRight", "")

ControlCommand("CLMS - Northbook Technology - Magee Campus - [<< Main CLMS >>]", "", "", "TabRight", "")

sleep(2000)

send("{DOWN}{ENTER}")

;Error - this will not open

Does anyone know why this is and how can I get around it please?

Share this post


Link to post
Share on other sites



I used the following code:

WinActivate("CLMS - Northbook Technology - Magee Campus - [<< Main CLMS >>]","")

send("!e")

sleep(1000)

ControlCommand("CLMS - Northbook Technology - Magee Campus - [<< Main CLMS >>]", "", SysTabControl321, "TabRight", "")

ControlCommand("CLMS - Northbook Technology - Magee Campus - [<< Main CLMS >>]", "", SysTabControl321, "TabRight", "")

sleep(2000)

send("{DOWN}{ENTER}")

But this does not work as I get an error saying unkown function name.

Are there any other solutions please?

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