anykey Posted May 5, 2014 Posted May 5, 2014 Wanted to map the letter q and 1 key to left click at 2 different places. When script is runnning q and 1 key do not simulate the left click HotKeySet("q","ras") HotkeySet("1","end") Func ras() MouseClick("left",685,166,0) EndFunc Func end() MouseClick("left",1069,356,0) EndFunc While 1=1 sleep(100) WEnd
Palestinian Posted May 5, 2014 Posted May 5, 2014 MouseClick ( "button" [, x, y [, clicks = 1 [, speed = 10]]] ) You are setting the function to do zero clicks
Alexxander Posted May 6, 2014 Posted May 6, 2014 try this HotKeySet("q","ras") HotkeySet("1","end") Func ras() MouseClick("left",685,166,1) EndFunc Func end() MouseClick("left",1069,356,1) EndFunc While 1=1 sleep(100) WEnd
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