Jump to content

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.

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

  • Recently Browsing   0 members

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