Guest Bob Posted March 17, 2004 Share Posted March 17, 2004 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 More sharing options...
scriptkitty Posted March 17, 2004 Share Posted March 17, 2004 (edited) most of my SysListView32 controls are SysListView321. just a thought. Edited March 17, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now