Sign in to follow this  
Followers 0
TeE ThE EdE

[Help]How to check from checkboxes in a list

9 posts in this topic

#1 ·  Posted (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 by TeE ThE EdE

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

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

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

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

#6 ·  Posted (edited)

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

nope no ID , Auto3Lib would be your best bet

Share this post


Link to post
Share on other sites

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

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  
Followers 0