Jump to content
Sign in to follow this  
TeE ThE EdE

[Help]How to check from checkboxes in a list

Recommended Posts

TeE ThE EdE

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 by TeE ThE EdE

Share this post


Link to post
Share on other sites
Valuater

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 by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
mikehunt114

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]

Share this post


Link to post
Share on other sites
TeE ThE EdE

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

Share this post


Link to post
Share on other sites
PaulIA

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

I 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

Share this post


Link to post
Share on other sites
TeE ThE EdE

well,

here is my situation.

as u can see all the checkboxes have the same control id in the list.

plz help.

THX

TeE ThE EdE

Posted Image

Edited by TeE ThE EdE

Share this post


Link to post
Share on other sites
Thatsgreat2345

nope no ID , Auto3Lib would be your best bet

Share this post


Link to post
Share on other sites
TeE ThE EdE

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

Share this post


Link to post
Share on other sites
PaulIA

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

You need glasses. He said Auto3Lib, not AutoIt ;)

Look here

|

|

|

V


Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.