Jump to content
Sign in to follow this  
BelieverofAutoIt

How to select the each check box items in ListBox.

Recommended Posts

BelieverofAutoIt

Please tell me. I can't select the each check box items in ListBox.

For example, Image is attached file.

I cannot get the Control ID of the check boxes using AutoIt windows Info.

I wrote the scripts as follows, but it cannot check in checkbox.

Only active the item.

$handle = ControlGetHandle ("Setup Wizard (Build 3.5.8999.0)", "", 402)

_GUICtrlListBox_ClickItem($handle, 2, "left", True)

Any good ideas?

post-64080-0-06705100-1302227487_thumb.j

Share this post


Link to post
Share on other sites
AutoBert

In a ListBox you have to use ControlCommand, but i think this is a Listview not a ListBox so you have to use ControlListView.

mfg autoBert

Share this post


Link to post
Share on other sites
BelieverofAutoIt

Humm. It doesn't go well using both ControlListView and ControlCommand too.

For example:

ControlListView("Setup Wizard (Build 3.5.8999.0)","","ListBox1","SelectAll")

ControlCommand("Setup Wizard (Build 3.5.8999.0)","","ListBox1,","Check",5)

Is it problem not to read ID information using AutoIt windows Info?

It is difficult to master AutoIt.

Anyway thanks.

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.