#include #include #include #include #include #include #include #include #include Example() Func Example() Local $sWindowName = "MyWindow" If WinExists($sWindowName) Then WinActivate($sWindowName) WinWaitActive($sWindowName) send("{F3}") Sleep(100) $classDetails = "[CLASS:SysListView32; INSTANCE:1]" $hLV = ControlGetHandle($sWindowName, "", $classDetails) $iRows = _GUICtrlListView_GetItemCount($hLV) MsgBox($MB_OK, "Row Count",$iRows) $aItem = _GUICtrlListView_GetItemTextArray($hLV,1) MsgBox($MB_OK, "Column Count",$aItem[0]) For $i = 1 To $aItem[0] $sText = String($aItem[$i]) MsgBox($MB_OK, "Column " & String($i),$sText) Next EndIf EndFunc