Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #IfWinActive, ahk_exe YourProgram.exe ; Replace "YourProgram.exe" with the executable file name for your program.
  2.  
  3. 9::Suspend ; This effectively toggles the script on & off when you press "\".
  4.  
  5. LButton::
  6. While GetKeyState("LButton", "P")
  7. {
  8. Send {LButton}
  9. Random, SleepTime, 9, 21
  10. Sleep %SleepTime%
  11. }
  12. Return
  13.  
  14. #If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement