Skip to content

Instantly share code, notes, and snippets.

@ctompkinson
Last active February 27, 2016 18:05
Show Gist options
  • Save ctompkinson/4dbca03c0e79c1b7c582 to your computer and use it in GitHub Desktop.
Save ctompkinson/4dbca03c0e79c1b7c582 to your computer and use it in GitHub Desktop.
;; Repeatidly press for AutoHotKey
;; Usage: Update $^o to your key
;; Update o down / up to your key
#MaxThreadsPerHotkey, 2
looping = 0
$^o::
looping := !looping
if (!looping) { Return }
loop {
If (!looping) { Break }
send, { o down }
sleep, 200
}
Send, { o up }
ExitApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment