Jump to content
Sign in to follow this  
Logjammin

How do I get auto-it to hold down mouseclick left?

Recommended Posts

Logjammin

I couldn't figure out the command, I understand how to do it with normal keys but what do i call the command so it'll hold down a mouseclick for me?

Share this post


Link to post
Share on other sites
Yashied

Share this post


Link to post
Share on other sites
FadetoGrey

I couldn't figure out the command, I understand how to do it with normal keys but what do i call the command so it'll hold down a mouseclick for me?

Actually, to a more experienced person, I'd also like to know what the answer to this is. Is it (one of the answers):

Opt("MouseClickDownDelay",5000)
MouseClick ("left")

And that'll just hold down the left mouse button for 5 seconds?

Oh and there's MouseDown() as Yashied said, would it just be:

MouseDown("left")
Sleep("5000")
MouseUp("left")

to hold it for 5 seconds and then release?

Edited by FadetoGrey

Share this post


Link to post
Share on other sites
Yashied
FadetoGrey

What test?

It's ok, I think he was talking to me.

And.. you might be onto something there, I just tested them both and they both work! Yay!

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.