Sign in to follow this  
Followers 0
sysadmin

Auto it Newb

6 posts in this topic

I am trying to write a script to automate some tasks in an aviation management software called "CORRIDOR". i have read through all of the help files I can, but I just cant seem to get this to work.

The first issue I have is this.

The script i am writing starts with running and logging into the software. there are three boxes that require information. The first is a dropdown menu that has two choices. The title of this box is "Database". the two choices are "Production", and "test". My first problem is getting auto it to make sure that "Production" is selected from this combo box.

Second question.

Once the software is open there is a toolbar at the top that has no text. Only icons that open up specific modules of the program. I want auto it to open up a specific module. there is to text to reference for the module.

Anyone care to help?

Share this post


Link to post
Share on other sites



first question have you tried using alt+D or something? If a letter is underlined on the toolbar alt+ that letter will select it. Once its in there you could arrow down or look to see if theres another hotkey combo

second question you'll probably have to use MouseClick() function

Share this post


Link to post
Share on other sites

For this particular toolbar there is no hot key combo, nor is there any underlying text.

Share this post


Link to post
Share on other sites

then try using MouseClick for all of it then... use the Window Info tool to find the coordinates

Share this post


Link to post
Share on other sites

Kind of tacky to use mouseclicks, and probably unreliable if you don't know how to limit them to a specific window.

Are you saying that this window you want to manipulate has no control id's or handles that can be seen with the AutoIt Info tool?

If it does, than all you would need to do is maybe:

ControlCommand() functions.

Or

UDF _GUICtrl* functions ( if you can get the handle of the window and the control ).


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

The window info tool sees the tool bar as one big tool bar and not as individual icons. The window info tool does give me a list of command id numbers.

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