Jump to content
Sign in to follow this  
naker

How do u bind shift + mouse click ?

Recommended Posts

naker

What I am trying to do is when I press the SPACE key (or any key) on my keyboard, it will act as shift + righ click.

Anyone know how to do this with autoIT?

Share this post


Link to post
Share on other sites
greenmachine

Maybe...

HotKeySet ("{SPACE}", "Clicker")

; ...

Func Clicker()

Send ("{SHIFTDOWN}")

MouseClick ("right")

Send ("{SHIFTUP}")

EndFunc

I didn't test it, but it's a guess.

Share this post


Link to post
Share on other sites
naker

Maybe...

HotKeySet ("{SPACE}", "Clicker")

; ...

Func Clicker()

Send ("{SHIFTDOWN}")

MouseClick ("right")

Send ("{SHIFTUP}")

EndFunc

I didn't test it, but it's a guess.

Thx, it works just like I wanted. :lmao:

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  

×