Hi Team,
I am new in AUTO IT. I am trying to check/uncheck all items of checkedlistbox from last 2 days, but not successful. Details are below
Here I am attaching Image of AutoIt v3 Window Info and checkedListBox images for your reference.
Code I am using for that is as below
Local $hdlWindow = WinGetHandle("Export [Multiple Tables] -- [Excel]") ;Working
Local $cidList = "[CLASS:WindowsForms10.LISTBOX.app.0.141b42a_r27_ad1; INSTANCE:2]" ; Working
$hdlList = ControlGetHandle($hdlWindow, "", $cidList) ;Working
Local $fState = True
Local Const $iCount = _GUICtrlListView_GetItemCount($hdlList)
MsgBox(0, "Information", "Item Count: " & $iCount) ;Showing 0
For $i = 0 To $iCount - 1
_GUICtrlListView_SetItemChecked($hdlList, $i, $fState)
Next
but it is not working for me.
Please help me out, so that I can check/uncheck the checkedlistbox
Regards,
Sanjay Kumar Mishra