BelieverofAutoIt Posted April 8, 2011 Share Posted April 8, 2011 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? Link to comment Share on other sites More sharing options...
AutoBert Posted April 8, 2011 Share Posted April 8, 2011 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 Link to comment Share on other sites More sharing options...
BelieverofAutoIt Posted April 8, 2011 Author Share Posted April 8, 2011 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. 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