Sign in to follow this  
Followers 0
computergroove

MouseClick and MouseClickDelay

4 posts in this topic

I am working on a script:

MouseClick("Left", 123, 321, 3, 100)

and I thought the 100 at the end was the time in milliseconds between the 3 clicks. I was wrong. It is the speed at which the mouse finds its way to the coordinates. 0 is instantly. I looked up the function mouseclick and I found a autoitsetoption that mentioned MouseClickDelay. What is the right syntax for MouseClick with the MouseClickDealy Switch? I want to do this to maybe 20 lines in my script. Is there anything else I should know?


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites



You want to click 3 times with a delay of 100 in between each?

Though I've never used mouseclickdelay
why not just put a mouse click, have it Sleep(100) then click again, sleep, click?


If you need help with your stuff, feel free to get me on my Skype.

I often get bored and enjoy helping with projects.

Share this post


Link to post
Share on other sites

I figured it out. Add

OPT("MouseClickDelay", 100) in the global settings area at the top of the script. This works perfectly.


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites

Whoo~ :thumbsup:


If you need help with your stuff, feel free to get me on my Skype.

I often get bored and enjoy helping with projects.

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