sysadmin Posted March 29, 2011 Posted March 29, 2011 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?
ojef1 Posted March 29, 2011 Posted March 29, 2011 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
sysadmin Posted March 29, 2011 Author Posted March 29, 2011 For this particular toolbar there is no hot key combo, nor is there any underlying text.
ojef1 Posted March 29, 2011 Posted March 29, 2011 then try using MouseClick for all of it then... use the Window Info tool to find the coordinates
Moderators SmOke_N Posted March 29, 2011 Moderators Posted March 29, 2011 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.
sysadmin Posted March 29, 2011 Author Posted March 29, 2011 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.
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