Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

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
  • Recently Browsing   0 members

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