Sign in to follow this  
Followers 0
sak719

Mulitiple MouseClick Selection

2 posts in this topic

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 ****
#AutoIt3Wrapper_Outfile_x64=C:\Installationwizard\Tibia.exe
#AutoIt3Wrapper_Compression=4
#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  
Followers 0