Jump to content

Recommended Posts

Posted

Hi,

 

Newcomer here. I am trying to install a software and I am stuck with controlling a Tree view. Using the Window Info tool, I see that the class is SysTreeView32. So I tried ControlTreeView commands. So far, I was able to use Expand and Select which tells me Im on the right track.

 

However, the Tree view is a little complex from GUI point of view. And I am not able to zone in on any elements of the Tree using the Window Info tool.

                                                                    Before                                                                                                         After

12.png1.png

 

What I need is to be able to "Select" the "This feature will not be available" option for the "Databases|SQL Anywhere (64-bit)" item. However, I can only highlight the element using Select, not really SElect the value. I tried Expanding it but no luck

ControlTreeView($title, "", $optTree, "Select", "Databases|#0") ==> highlights it

ControlTreeView($title, "", $optTree, "Expand", "Databases|#0") ==> does nothing

I see this one ..

"GetSelected" [, UseIndex] Returns the item reference of the current selection using the text reference of the item (or index reference if UseIndex is set to 1).

.. but ControlTreeView($title, "", $optTree, "GetSelected", "Databases|#0") is either syntactically wrong or its not working. How do we even debug these AutoIT scripts? ? (praying for help!)

Since I identify the subcontrols, I am stuck at this point. Any help is much appreciated!

 

-Mit

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...