Skip to content

Instantly share code, notes, and snippets.

@mcbrwr
Last active February 13, 2016 21:34
Show Gist options
  • Save mcbrwr/514bbb449d5963a78033 to your computer and use it in GitHub Desktop.
Save mcbrwr/514bbb449d5963a78033 to your computer and use it in GitHub Desktop.
applescript to test keystrokes - eventually trying to get keystrokes into Zwift
on run {input, parameters}
tell application "System Events" to set frontmost of process "ZwiftApp" to true
tell application "System Events"
keystroke "M"
keystroke "Ride on!!"
keystroke return
end tell
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment