Jump to content

Selecting Option in Combo Box


 Share

Recommended Posts

I have a program called workforce Connect. I want to write a script that automates a process. Basically when the program pops up a combo box I want the script to make a specific selection in the combo box and then click OK. Should be easy. So far I have:

shellExecute('c:\kronos\connect\knx.exe', '/run="\\kronos-p\Connect$\Payroll.KNI" /wait')

winwait ("Select Text for Field")

ControlSend("Select Text for Field","",,"PR")

This runs the program, waits for the combo box to come up, but the ControlSend is not working. I have attached a file with all the control info from AutoIt Window Info.

What am I doing wrong?

workforcewindow.bmp

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...