Jump to content

Recommended Posts

Posted

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?

  • 2 weeks later...
Posted

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?

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
×
×
  • Create New...