Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- toggle := false
- F1:: ; When F1 is pressed, toggle the script on/off
- toggle := !toggle
- if (toggle) {
- SetTimer, SendKeys, 500 ; Start the loop every 500ms
- } else {
- SetTimer, SendKeys, Off ; Stop the loop
- }
- return
- SendKeys:
- Send, {s} ; Send the "down" arrow key
- sleep, 300
- Send, {Enter} ; Send the "Enter" key
- return
Advertisement
Add Comment
Please, Sign In to add comment