Jump to content
Sign in to follow this  

ControlTreeView - GetText error

Recommended Posts


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?


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  


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.