tsukun03 Posted July 9, 2012 Posted July 9, 2012 I am having trouble with checking a checked box in a diff program. When I try and use controlclick it doesn't seem to work. I have tried different thinks with controlclick and I am unsure what else to try.The button/check box has the following controls:Class: ButtonInstance: 30ClassnameNN: Button30Name: Advanced (Class): [CLASS:Button; INSTANCE:30]ID: Text: Position: 1176, 131Size: 21, 19ControlClick Coords: 7, 9I have tried:ControlClick("Title of program", "","[CLASS:Button; INSTANCE:30]","","",1176,131)ControlClick("Title of program", "","[CLASS:Button; INSTANCE:30]")None of these seems to work and now I am stuck. Is there anything else that I can try? Thanks
abberration Posted July 10, 2012 Posted July 10, 2012 Have you tried using WinActivate right before the ControlClick line? Easy MP3 | Software Installer | Password Manager
Zedna Posted July 10, 2012 Posted July 10, 2012 TryControlClick("Title of program", "","Button30")You may try also ControlCommand() + Check/UnCheck command Resources UDF ResourcesEx UDF AutoIt Forum Search
tsukun03 Posted July 10, 2012 Author Posted July 10, 2012 Thanks for you help after messing with it for a while the Check and Unchecked work. For some reason I just copied the Control ID from the summery and it worked. So i really don't know what was wrong with it but it works now.
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