Sign in to follow this  
Followers 0
PaulB

SetCurrentSelection help needed

2 posts in this topic

First Id like to say great I think AutoIt is. Its a real timesaver for me, and its quite easy to use. But, I have encountered one situation that Im having a problem with and have not been able to find a workaround.

When working with a standard listbox, how does the ControlCommand "SetCurrentSelection" option select the proper item? In other words, does it do it by performing (or emulating) a double-click of the mouse, or does it do it in some other way.

The problem that I'm having is that the particular application that I'm working with opens another window on a double-click of the mouse, whereas it does nothing on a single click. And, whenever I execute a ControlCommand using the "SetCurrentSelection" option, this additional window is opened. Id like to avoid this additional overhead if at all possible. Any suggestions would be appreciated. Thanks.

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  
Followers 0