Advertisement
Guest User

rapid fire - coc

a guest
Jun 6th, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6. $F1::
  7. Loop
  8. {
  9. if not GetKeyState("F1", "P") ; If this statement is true, the user has physically released the F1 key.
  10. break ; Break out of the loop.
  11. ; Otherwise (since the above didn't "break"), keep clicking the mouse.
  12. click
  13. Sleep 3 ; Wait 30 seconds.
  14. }
  15.  
  16. return
  17. Esc::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement