BabyG Posted April 6, 2005 Share Posted April 6, 2005 I'm trying to automate a window that has a nested systabcontrol32. The main problem I am having is there is a &Apply button in the nested window, and one in the axual window... and they both have a controlID of 12321. They both have the same text, they both don't have the same ClassName but the ClassNames change between buttons every time you reopen it. So if i say click the button 12321 that don't work coz it clicks the wrong button... (the nested window button... I want to click the axual window apply button). If i tell it to click buttonNN it don't work coz the ClassName changes next time i open the window. The button text is the same too!... So is there anyway you guys can think of to differentiate between the buttons without using the button's position? Thanx guys!! Link to comment Share on other sites More sharing options...
Henrik Posted April 6, 2005 Share Posted April 6, 2005 This thread (and others) deals with this issue.If you do not have the option of requesting unique resource ID numbering from the developers, you may have a problem here Ignorance is strength. Link to comment Share on other sites More sharing options...
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