Jump to content
Sign in to follow this  
Guest Bob


Recommended Posts

Guest Bob


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" )


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!



Share this post

Link to post
Share on other sites

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  


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.