Skip to content

Instantly share code, notes, and snippets.

@elentok
Last active December 15, 2015 13:39
Show Gist options
  • Select an option

  • Save elentok/5269328 to your computer and use it in GitHub Desktop.

Select an option

Save elentok/5269328 to your computer and use it in GitHub Desktop.
Play/Pause 8tracks
tell application "8tracks"
activate
tell application "System Events"
keystroke " "
keystroke tab using {command down}
end tell
end tell
@roccitman
Copy link
Copy Markdown

Doesn't seem to work now. I changed "8tracks" to "8tracks Radio". They changed the name of the .app. But doesn't look like it's got the same system events now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment