Advertisement
alindom

No more mouse clicks! Now Q,W,E...

Oct 3rd, 2021
2,229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Recommended for performance
  2. #NoEnv
  3.  
  4. ; Better and more reliable
  5. SendMode Input
  6.  
  7. ; Press the Q key and click and un-click the right mouse button
  8. Q::
  9.  if ( not GetKeyState("RButton" , "P") )
  10.   Send {Q}
  11.   Sleep, 100
  12.   Click down right
  13.   Click up right
  14. return
  15.  
  16. ; Press the W key and click and un-click the right mouse button
  17. W::
  18.  if ( not GetKeyState("RButton" , "P") )
  19.   Send {W}
  20.   Sleep, 100
  21.   Click down right
  22.   Click up right
  23. return
  24.  
  25. ; Press the E key and click and un-click the right mouse button
  26. E::
  27.  if ( not GetKeyState("RButton" , "P") )
  28.   Send {E}
  29.   Sleep, 100
  30.   Click down right
  31.   Click up right
  32. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement