AutoIt: Activate and choose elements context menu in ControlTreeView

alexey.chumagin picture alexey.chumagin · Oct 3, 2010 · Viewed 8.1k times · Source

I want to do automatic installation by AutoIt. I cant activate and choose elements menu on the "select features" step. I can choose any element in the "tree". For it I use the function

ControlTreeView($windowId, "", $h_tree, "Select", "#2")

How to activate and choose the elements menu in ControlTreeView?

alt text

Answer

Copas picture Copas · Oct 7, 2010

You can do it with the keyboard.

I have done this in the past with with

send("{down}{space}{down}{down}{enter}")

combination. I know this can't be the best way to do it but it will work.