Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #IfWinActive, ahk_exe YourProgram.exe ; Replace "YourProgram.exe" with the executable file name for your program.
- 9::Suspend ; This effectively toggles the script on & off when you press "\".
- LButton::
- While GetKeyState("LButton", "P")
- {
- Send {LButton}
- Random, SleepTime, 9, 21
- Sleep %SleepTime%
- }
- Return
- #If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement