Advertisement
PSquishyP

Untitled

Oct 4th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;
  2. ;Program Name by Noahc3
  3. ;Additional Credits
  4. ;Built with Autohotkey 1.1.22.09
  5. ;Program Version
  6. ;
  7. ;Source Code available at [Link]
  8. ;
  9.  
  10. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  11. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  12. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  13.  
  14.  
  15.  
  16. r::
  17.     Toggle := !Toggle
  18.     While Toggle{
  19.         MouseGetPos, mouseX, mouseY
  20.         MouseMove, mouseX + 250, mouseY - 0
  21.         MouseClick L
  22.         MouseMove, mouseX - 100, mouseY - 0
  23.         MouseMove, mouseX - 50, mouseY + 15
  24.         MouseClick L
  25.         ;reset to original position each time
  26.         MouseMove, originalMouseX, originalMouseY
  27.     }
  28.     While !Toggle{
  29.         ;always get the mouse original pos when not doing the clicky
  30.         MouseGetPos, originalMouseX, originalMouseY
  31.     }
  32. return
  33.  
  34. ;safety mechanisms
  35.  
  36. ]::
  37.     reload
  38. return
  39.  
  40. [::
  41.     ExitApp
  42. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement