Jump to content
Sign in to follow this  

Swipe simulation with mouse

Recommended Posts


Is it possible to simulate swipe gesture with mouse using AutoIT? Something like 

MouseMove(700, 700, 0)


MouseClickDrag($MOUSE_CLICK_LEFT, 0, 200, 600, 700)

The problem of these two solutions is that the mouse is being released after mouseUp.

The swipe gesture instead, need to release the mousebutton just before the final point.

So what i can do?

-May i run 2 script, the first one to move the mouse and the second one to release mouse after certain time? (Tried but not working...)

-May i run parallel threads? (i don't exactly know how to do it, but i read that is possible ).



Share this post

Link to post
Share on other sites

Already searched, but i don't exactly know what i have to read. I'm pretty new in AutoIT scripting.

The only thing that (for me) seem to have sense is this thread :

But still don't know how to set the tap coords, and even if i knew it, i have to find a way to perform the swipe(tap down -- move -- tap up --- stop).

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