A few days ago I started using the 8tracks service, it's a really cool music streaming service.
The only thing I was missing was a global hotkey for play/pause, so I implemented it using a combination of Fluid, AppleScript and Alfred.
First, install Fluid (the free download is enough) and create a standalone application for 8tracks:
Then, download the 8tracks workflow and install it in Alfred.
Now you can use Command+F8
to toggle play/pause in 8tracks (you can change it
in Alfred's workflow settings).
If you use a different launcher, here's the applescript that actually does the work:
tell application "8tracks"
activate
tell application "System Events"
keystroke " "
keystroke tab using {command down}
end tell
end tell