Jump to content

Recommended Posts

Posted

post-81484-0-58646500-1376659256_thumb.j

How do I activate and choose elements menu in TreeView? (Attached image)

Basically I want to select the third option (circled in image) and trying to AVOID keyboard presses as

Send("{DOWN}{SPACE}{DOWN}{DOWN}{ENTER}{DOWN}{SPACE}{DOWN}{DOWN}{ENTER}")

post-81484-0-58646500-1376659256_thumb.j

  • Moderators
Posted

Bleh, that looks painful, sumitd. What is it you're trying to install? Typically, you can set Global Components from the command line, if it is an MSI.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

@JLogan3o13,

:) Trying to install a network simulation software (It's an MSI)

Is there no option in Autoit to expand and select options from TreeView ?

  • Moderators
Posted

You can always grab the window and use Control commands, my point was that it will be a lot less headache to just set the property in your command line. You would usually do something like this:

ShellExecuteWait("msiexec.exe", '/i "path to msi" ADDLOCAL=ALL /qb')

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

@JLogan3o13,

I tried with the above. seems it doesn't work and those options are not included.

Any other suggestions on how to select item from treeview?

Regards,

sumitd

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
×
×
  • Create New...