Jump to content
Sign in to follow this  

Problems using the TreeView UDF with another application

Recommended Posts

Can somebody tello me what I'm doing wrong? I'm trying to use AutoIt to get text from controls in other applications, and I'm having trouble with the TreeView. I saw on the forums that the GUI UDFs were extended to use with other applications, so that can't be it.

#include <GuiTreeView.au3>
$hw = WinGetHandle("AutoIt Help")
$hc = ControlGetHandle($hw, "", "SysTreeView321")
$tt = _GUICtrlTreeViewItemGetTree($hw, "SysTreeView321", "\")
$ct = ControlGetText($hw, "", "SysTreeView321")

The $hc appears in the messageboxes just fine, but both $tt and $ct are blank, whether I use the classname or the handle. (I can't use a Control ID because according to AU3Info, this control doesn't have one.)

Share this post

Link to post
Share on other sites

i can tell you that the control commands are able to work with external programs, however i believe that this


is for a GUI Control created in autoit

( and i dont have the answer you are looking for )



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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...