Skip to content

Instantly share code, notes, and snippets.

@lardissone
Created November 18, 2011 19:19
Show Gist options
  • Save lardissone/1377470 to your computer and use it in GitHub Desktop.
Save lardissone/1377470 to your computer and use it in GitHub Desktop.
Google Music play/pause service
on run
tell application "Google Chrome"
set musicTab to (first tab of every window whose title contains "Music Beta")
try
execute musicTab javascript "SJBpost('playPause');"
end try
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment