Akrosinos

WF_Full Auto Shooting

Apr 29th, 2014
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1.  
  2. ; ###################################################
  3. ; Written by Rezel (aka Atavus / Treplos / Hadronox)
  4. ; ###################################################
  5.  
  6. ; GLOBAL DIRECTIVES
  7. {
  8. ; AutoHotkey Version: 1.x
  9. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  10. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  11. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  12. ;SetMouseDelay, 2
  13. #SingleInstance Force
  14. ;#WinActivateForce
  15. #Persistent
  16. #UseHook
  17. ;#InstallKeybdHook
  18. #InstallMouseHook
  19. SetTitleMatchMode 3
  20. ;#MaxThreadsPerHotkey 2 ;<-- added to handle the return from the hotkey
  21. }
  22.  
  23. ;; /\/\/\/====================\/\/\/\
  24. ;; CUSTOMIZE SETTINGS
  25. ;; /\/\/\/====================\/\/\/\
  26. {
  27. ; pause (in milliseconds)
  28. Sleep1 := 50
  29. }
  30.  
  31. ;; ========================
  32. ;; ||| Main Script |||
  33. ;; ========================
  34.  
  35. {
  36. Start1:
  37.  
  38. While (GetKeyState("LButton", "P"))
  39. {
  40. Send {Click}
  41. Sleep %Sleep1%
  42. }
  43.  
  44. Goto, Start1
  45.  
  46. Home::Pause
  47. PgUp::Reload
  48. End::ExitApp
  49. }
  50.  
  51. ExitApp ; terminate script.
Advertisement
Add Comment
Please, Sign In to add comment