Jump to content
Sign in to follow this  
ycomp

read an item from another app's listview?

Recommended Posts

ycomp

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?

Share this post


Link to post
Share on other sites
Paulie

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

Share this post


Link to post
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
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.