computergroove Posted May 29, 2014 Posted May 29, 2014 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
Sori Posted May 29, 2014 Posted May 29, 2014 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.
Solution computergroove Posted May 29, 2014 Author Solution Posted May 29, 2014 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
Sori Posted May 29, 2014 Posted May 29, 2014 Whoo~ If you need help with your stuff, feel free to get me on my Skype. I often get bored and enjoy helping with projects.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now