shx Posted December 31, 2007 Posted December 31, 2007 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
weaponx Posted December 31, 2007 Posted December 31, 2007 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.
shx Posted January 1, 2008 Author Posted January 1, 2008 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
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