Jump to content

Syslistview32


Guest Bob
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

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