Sign in to follow this  
Followers 0
Raina

Problems With Mouse Drag Speed

3 posts in this topic

I've looked over the help and the forums, and I can't seem to find an answer to my (probabily very simple) question.

I'm writing a script and in this, I need consistant 'slow' drag speed across the screen. I've tried numerous solutions, and when I located mouseclickdrag with the speed argument, I thought I was all set.

however. When I use it, the speed of the drag seems to vary. Starting very fast then slowing down to a near crawl towards the end of the drag across the screen.

How can I make sure the drag speed is constant from start to finish?

Share this post


Link to post
Share on other sites



The way I would approach this issue is to use a MouseDown command to start, split the distance from initial location to final location into segments suitable to your speed, and MouseMove to each segment (can also affect speed). After the final segment, MouseUp.

Share this post


Link to post
Share on other sites

yeah I tried this and got a similar result. as it approaches say the last 25% the speed drops dramatically.

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