Jump to content

Recommended Posts

Posted

how can I read an item from another app's listview? I mean I assume I can find the listview easy enough with the au3info tool... but how do I read say line 2?

Posted (edited)

Find the ControlID with the Autoit3 Window Info and do this:

#Include <GuiListView.au3>
#Include<Array.au3>

$Handle = ControlGetHandle($WindowTitle, $WindowText, $ControlID)
$Text = _GUICtrlListView_GetItemTextArray($handle, 1) ;1 would read the second item (0-based index)
_ArrayDisplay($Text)
Edited by Paulie

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
  • Recently Browsing   0 members

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