Jump to content
Sign in to follow this  
jftuga

get contents of 3rd party listview

Recommended Posts

jftuga

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

Share this post


Link to post
Share on other sites
ajit

@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

Share this post


Link to post
Share on other sites
jftuga

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.