TeE ThE EdE Posted November 20, 2006 Share Posted November 20, 2006 (edited) Hi there, i'm new to AutoIt. i wanna know how to check some checkboxes not all of them. i don't know the code , i know i can check using spacebar , but if there for instance 5 checkboxes in a list and i wanna check the first 2, i wonder wut is the code ? THX TeE ThE EdE Edited November 20, 2006 by TeE ThE EdE Link to comment Share on other sites More sharing options...
Valuater Posted November 20, 2006 Share Posted November 20, 2006 (edited) Welcome to the forums... at least your first post was in the right section "Support" is this a GUI you created or from another program or internet or ?? can you show some code / effort here 8) Edited November 20, 2006 by Valuater Link to comment Share on other sites More sharing options...
mikehunt114 Posted November 20, 2006 Share Posted November 20, 2006 Welcome to AutoIt You can use the AutoIt Window Info tool to get the control ID of each separate check box, then you can use ControlSend() or ControlClick() to select specific ones. IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] Link to comment Share on other sites More sharing options...
TeE ThE EdE Posted November 20, 2006 Author Share Posted November 20, 2006 well, i'm automating some program (F-Secure) setup. i know about the window info tool but , how to choose the first checkboxes while they have the same control ID. THX TeE ThE EdE Link to comment Share on other sites More sharing options...
PaulIA Posted November 20, 2006 Share Posted November 20, 2006 well,i'm automating some program (F-Secure) setup.i know about the window info toolbut , how to choose the first checkboxes while they have the same control ID.THX TeE ThE EdEI think what we need to know is the class of the control you're referring to. Is it a SysTreeView32 control? If so, then passing the cursor over each checkbox will result in the same control ID being displayed, but the control class will be something like "SysTreeView321". Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
TeE ThE EdE Posted November 22, 2006 Author Share Posted November 22, 2006 (edited) well,here is my situation.as u can see all the checkboxes have the same control id in the list.plz help.THXTeE ThE EdE Edited November 22, 2006 by TeE ThE EdE Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted November 22, 2006 Share Posted November 22, 2006 nope no ID , Auto3Lib would be your best bet Link to comment Share on other sites More sharing options...
TeE ThE EdE Posted November 23, 2006 Author Share Posted November 23, 2006 so, autoit is my best bet !!! hoWWWW? could someone plz help me to only check the first 2 checkboxes while the default settings is 5. Hint: look my uploaded pic. THX TeE ThE EdE Link to comment Share on other sites More sharing options...
PaulIA Posted December 4, 2006 Share Posted December 4, 2006 so, autoit is my best bet !!!hoWWWW?could someone plz help me to only check the first 2 checkboxes while the default settings is 5.Hint: look my uploaded pic.THXTeE ThE EdEYou need glasses. He said Auto3Lib, not AutoIt Look here |||V Auto3Lib: A library of over 1200 functions for AutoIt 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