Jump to content
Sign in to follow this  
Fossil Rock

Changing delay between mouse clicks...

Recommended Posts

Fossil Rock

Anyone know of a way (in AutoIt) to change the delay between mouse clicks? Clicking rapidly doesn't register every click.

EDIT: Opt("MouseClickDelay", 1) doesn't seem to do anything.

Edited by Fossil Rock

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
JustinReno

Why not just put a sleep between clicks?

Share this post


Link to post
Share on other sites
Fossil Rock

I'm trying to make the clicks closer together not farther apart.... less time between clicks.


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
therks

Clicking rapidly doesn't register every click.

What are you clicking on? Perhaps it's interpreting some clicks as double clicks, that might make it seem that you're losing half your clicks.

Share this post


Link to post
Share on other sites
Fossil Rock

I'm changing the background color on a control .... not changing fast enough for me.


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
SmOke_N

Use OnEvent instead of GUIGetMSg and then you can put in the sleep time

Nice idea, but it's still going to have a default delay between polling for messages (250 ms I believe).

No hardware/code change he makes is going to change that.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Janus

Opt("MouseClickDelay", 10) ;10 milliseconds

Opt("MouseClickDownDelay", 10) ;10 milliseconds

See _SendMessage and the post a W_MOUSECLICK to the control.

Janus S. Andersen

Share this post


Link to post
Share on other sites
SmOke_N

Opt("MouseClickDelay", 10) ;10 milliseconds

Opt("MouseClickDownDelay", 10) ;10 milliseconds

See _SendMessage and the post a W_MOUSECLICK to the control.

Janus S. Andersen

He's talking about hardware.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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.