Advertisement
Guest User

Untitled

a guest
May 1st, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. ~Q::
  2. Pause::Pause
  3.  
  4. ~End::ExitApp
  5.  
  6. ~c & ~LButton::
  7. Loop
  8. If GetKeyState("LButton", "c") {
  9. Sleep, 5
  10. moveAmount := (moveAmount = 3) ? 3 : 0
  11. mouseXY(moveAmount,5)
  12. }
  13. else
  14. break
  15. ~LButton::
  16. Loop
  17. If GetKeyState("LButton") {
  18. Sleep, 5
  19. moveAmount := (moveAmount = 2) ? 3 : 0
  20. mouseXY(moveAmount,3.4)
  21. }
  22. Return
  23.  
  24.  
  25.  
  26. mouseXY(x,y)
  27. {
  28. DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement