Jump to content

How can you left click while moving ? mouse control

Recommended Posts


I d like to create a script which click at a certain place, drag till another and continue its trajectory without stopping.


I thought about those two options :


MouseClickDrag ( "left", 1200, 220, 900, 750, 2)




but it isn't fast enough : the mouse stops when it arrives at the point of "Mouse Up". Is there a way to bypass that problem?


thanks !


Link to post
Share on other sites


What @mikell and @Earthshine was meaning, it's the option MouseClickDragDelay, which is a parameter that indicates the pause made by the function MouseClickDrag() at the start and at the end of the drag operation.

You can change the value of this parameter using AutoItSetOption() or Opt() function :)


Click here to see my signature:




Link to post
Share on other sites

UEach help file has examples at the bottom.

If you can’t read and understand the material then how are you ever going to learn to program? Your response has indicated extreme laziness

Read and execute the examples is how you learn. We were all new at one point But that is no excuse for not learning. Wanting to be spoonfed won’t help you learn. YOU must read the help file And put forth an effort

Edited by Earthshine

My resources are limited. You must ask the right questions


Link to post
Share on other sites

i understand and respect what you're saying.

In any case, changing options was a good idea but it doesn't solve my problem. My mouse is still stopping at some point (between the two commands). I'm suspecting that it accelerates and when it almost reached the aim point it decelerates. However, what i need is a really smooth movement of the mouse where in the middle it releases the left button.

Any idea how to do that :/?

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...