Jump to content
Sign in to follow this  

Mulitiple MouseClick Selection

Recommended Posts

Have a list of items, and want to select multiple items via mouseclick. Manually, I do this with holding down the CTL key and Left Mouse click, (or holding down Shift key for blocks of items). How can I do this with MouseClick and Send ({CTRL}) functions?

Share this post

Link to post
Share on other sites

Here is a short script I made to give you an example.

I have used the MouseClick function, so it is clicking according to the screen, not a specific program.

Use the Tools->Au3Info tool to get information about coordinates of either the screen or a specific program.

(Coordinates in example are using the script if the editor is maximized.

#region ;**** Directives created by AutoIt3Wrapper_GUI ****
#endregion ;**** Directives created by AutoIt3Wrapper_GUI ****

MouseClick("left", 92, 111, 1)
Send("{LSHIFT down}")
MouseClick("left", 119, 246, 1)
Send("{LSHIFT up}")

Challenge accepted!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...