Jump to content

[Help]How to check from checkboxes in a list


Recommended Posts

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
Link to comment
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]
Link to comment
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
Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...