naker Posted January 19, 2006 Share Posted January 19, 2006 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? Link to comment Share on other sites More sharing options...
greenmachine Posted January 19, 2006 Share Posted January 19, 2006 Maybe... HotKeySet ("{SPACE}", "Clicker") ; ... Func Clicker() Send ("{SHIFTDOWN}") MouseClick ("right") Send ("{SHIFTUP}") EndFunc I didn't test it, but it's a guess. Link to comment Share on other sites More sharing options...
naker Posted January 19, 2006 Author Share Posted January 19, 2006 Maybe...HotKeySet ("{SPACE}", "Clicker"); ...Func Clicker() Send ("{SHIFTDOWN}") MouseClick ("right") Send ("{SHIFTUP}")EndFuncI didn't test it, but it's a guess.Thx, it works just like I wanted. Link to comment Share on other sites More sharing options...
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