Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

AppleScript Source

jhalickman edited this page Jul 26, 2011 · 2 revisions

on run
tell application "Google Chrome"
set allWins to every window
set allTabs to {}
repeat with currWin in allWins
set allTabs to allTabs & every tab of curtain
end repeat
repeat with currTab in allTabs
try
if ((characters -10 thru -1 of (title of currTab as string)) as string) = "Music Beta" then set musicTab to currTab
end try
end repeat
tell musicTab to execute javascript "SJBpost('playPause');"
end tell
end run

Info from: http://hints.macworld.com/article.php?story=20110622061755509

Clone this wiki locally