tabnation

fisch shake only

Jan 6th, 2025 (edited)
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. toggle := false
  2.  
  3. F1:: ; When F1 is pressed, toggle the script on/off
  4. toggle := !toggle
  5. if (toggle) {
  6. SetTimer, SendKeys, 500 ; Start the loop every 500ms
  7. } else {
  8. SetTimer, SendKeys, Off ; Stop the loop
  9. }
  10. return
  11.  
  12. SendKeys:
  13. Send, {s} ; Send the "down" arrow key
  14. sleep, 300
  15. Send, {Enter} ; Send the "Enter" key
  16. return
  17.  
Advertisement
Add Comment
Please, Sign In to add comment