Sign in to follow this  
Followers 0
shx

getting a control id via autoit script

3 posts in this topic

I think that the question has been asked before but I have not found an answer.

Is there a a way of getting the controlid of an object via autoiit script.

I have a script that I want to create that would automate the installation of applications and I would like to record that information while I am installing the application

Thanks

Share this post


Link to post
Share on other sites



Use the AutoIt Window Info tool to identify the controls while running your installation, you may be better of using classname and instance number because controlid's can vary across multiple executions of the same app.

Share this post


Link to post
Share on other sites

you may be better of using classname and instance number because controlid's can vary across multiple executions of the same app.

Thanks weaponx, I didn't know the controlid could vary. Then there is something I do not understand. If controlid's can vary across multiple executions of the same app, then it would seem that it is useless and should never be used.

Are there rules that could help with the determination if it is static or not?

Steven

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