Sign in to follow this  
Followers 0
Guest Bob

Syslistview32

2 posts in this topic

All,

I'm having a problem reading the text from a SysListView32 control using the ControlGetText() command. The syntax I'm using is as follows:

$BobsVar = ControlGetText ( "The window title", "", "SysListView32" )

MsgBox(0,"",$BobsVar)

I believe the problem has more to do with the poorly designed window I'm trying to read than with ControlGetText. Or maybe ControlGetText does not yet support this control... In any case, when I run AutoIt Window Spy and position my cursor over the list control, the Last Control Under Mouse is "Class: #327701 (hidden)."

When I use CopyText2.2 (an external app used to read control text), it correctly identifies the SysListView32 control, and reads every item in the list to the clipboard. I'm currently using CopyText2.2 in my scripting just for the purpose of reading this list, but I'd LOVE to be able to use the AutoIt3 ControlGetText command instead.

If ControlGetText is supposed to be able to read a SysListView32 control, any help that can be offered would be greatly appreciated!

Thanks,

Bob

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

most of my SysListView32 controls are SysListView321. just a thought.

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

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  
Followers 0