willwatters Posted December 9, 2004 Posted December 9, 2004 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?
willwatters Posted December 23, 2004 Author Posted December 23, 2004 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?
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