Jump to content
Sign in to follow this  
sumitd

how to choose option treeview in window

Recommended Posts

sumitd

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

Share this post


Link to post
Share on other sites
JLogan3o13

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.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
sumitd

@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 ?

Share this post


Link to post
Share on other sites
JLogan3o13

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')

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
sumitd

@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

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  

×