devilyn Posted November 16, 2010 Posted November 16, 2010 (edited) im working on extracting the text out of an external application listview but it's not behaving as a regular list view. control details: >>>> Control <<<< Class: AfxFrameOrView42u Instance: 3 ClassnameNN: AfxFrameOrView42u3 Name: Advanced (Class): [CLASS:AfxFrameOrView42u; INSTANCE:3] ID: 4401 Text: Position: 2, 171 Size: 1591, 622 ControlClick Coords: 882, 33 Style: 0x50200000 ExStyle: 0x00000000 Handle: 0x0000000000171C7E My code: Func _Main() $hwnd = WinGetHandle("AppName") $hListView = ControlGetHandle($hwnd, "", 4401) $items = _GUICtrlListView_GetItemCount($hListView) For $i = 1 To $items - 1 $aItem = _GUICtrlListView_GetItem($hListView, $i, 1) ConsoleWrite($aItem[3] & @CRLF) Next EndFunc ;==>_Main thanks in advance. Edited November 16, 2010 by devilyn
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