Sign in to follow this  
Followers 0
Guest gasman

Input to text box

2 posts in this topic

Hi. I've been working with autoIT for one day.

I am trying to automate a proprietary program used to process geolocation data.

I'm at the point where it pops up a window to let you navigate around the harddisk to find the file you want to work with. What I would like to do is figure out if it is possible in autoIT to jump to the text box which looks something like,

File name: [4321-00-xx2345 ]

and directly enter the name of the next file I want to process... without having to code a whole series of mouseclicks and such.

I thought from reading the help manual, that I could do this with the ControlCommand. Is that right?

Using the spy program I get the following specs for the window:

Title: Geo

Text: Some other stuff...

File &name

More stuff....

(Last Control under Mouse)

Class: Edit1 Text:

(Visible Window Text)

File &name:

I tried using:

ControlCommand("Geo","File &name","Edit1","AddString",$in_filename)

But nothing shows up?

I would appreciate knowing if I'm on the right track or whether or not I should be going about this in a different manner, and, if so, what that manner might be.

Thank you for your consideration.

gasman

Share this post


Link to post
Share on other sites



Ok, Thank you, Larry.

-g

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