Jump to content

Mulitiple MouseClick Selection


sak719
 Share

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?

Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...