Jump to content

get contents of 3rd party listview


Recommended Posts

I searched the forum for this already and also studied the _GUICtrlListView_* functions but am not sure if this can be done or not. I have a 3rd-party program (binary only, no source code) that has a listview in it. How can I get the contents of this LV with AutoIt? I can get the ClassNameNN of the LV with the AutoIt v3 Window Info program. Ideally, I like to get a double array with the first index being the row number and the second index being the contents of each column.

Thanks!

-John

Link to comment
Share on other sites

@John

Try

$hWnd = ControlGetHandle ("title", "text", controlID ) to get handle of listview

$itemcount = _GUICtrlListView_GetItemCount($hWnd)

_GUICtrlListView_GetItemText($hWnd, $iIndex[, $iSubItem = 0]); Loop till $itemcount to get contents of LV.

Regards

Ajit

Note: Wrong forum

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...