Sign in to follow this  
Followers 0
kamyers1

ControlTreeView - GetText error

1 post in this topic

I am attempting to use the ControlTreeView method GetText command on a tree view control (TreeView20WndClass) from a vbscript application under Windows XP. Here is the code that I used:

text=AutoIt.ControlTreeView("Output", "", "TreeView20WndClass3, "GetText", "#0","")

Using that command, text comes back blank, and AutoIt.error=1. However, text does appear on the nodes of this control, and I am able to successfully execute other ControlTreeView commands on this control, including Exists, GetItemCount, Collapse, and Expand. Select doesn't return an error, but also doesn't seem to work.

Am I doing something wrong? Any suggestions?

Thanks,

Kevin M.

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