Jump to content
Sign in to follow this  

*Capturing* mouse coords from a drag start and end position...

Recommended Posts


I'm trying to develop a gesture-based system for my new tablet laptop that I will use with my various AutoIT coding projects I've been developing.

My app will have it's own GUI with numerous controls on it, one of which is a large picture. I'd like to know what I need to do to capture the start position and end position of a drag operation when the user clicks on the picture even if the drag goes off the picture.

I'll use the x positions to determine left or right gestures (yes, kinda like how the iPhone and iTouch work).


Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'


Share this post

Link to post
Share on other sites

Maybe something like this, not sure if it suits your needs.

Dim $Start[2],$End[2]
If $Info[4]=$LargePicture And $Info[2] Then
    While _IsPressed("01")

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.