Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just bought a Parrot Zik, which is a pair of bluetooth headphones with volume control, play/pause and next-prev buttons. (Or gestures, as they come with the Zik).

The phones work beautifully with OS X, but I would like to be able to use the play/pause and next-prev with Spotify.

I've seen the similar question on this site, but the answer didn't help me, either because it is not entirely up to date and incompatible with Mavericks, or because Spotify lacks support.

The best thing I could think of is to map the bluetooth media keys to media function keys that are on my mac's keyboard, they all work with spotify, VLC and virtually every other app I every tried it with.

One option would be using AppleScript. I think at least Spotify can be scripted to do these things using AppleScript. But better would be a script that simply does the mapping of these events to the media keys. The question would be: how to write such a resident script that triggers by pressing my bluetooth headphone's media keys?

Otherwise, is there an app or plug-in of some sort that allows me to do the mapping?

share|improve this question
up vote 4 down vote accepted

Try this: Works for me, and I'm using a Parrot Zik on Mavericks.

The only issue is that iTunes still opens with headset gestures.

share|improve this answer

I know this is an old question, but in addition to Chad's answer (sorry, I don't have enough rep to comment), you can try using the Play Button iTunes Patch to stop iTunes also loading.

Alternatively, if you never want to see iTunes again, you can stop it opening altogether by removing its permissions: sudo chmod 000 /Applications/
This is pretty much the first thing I do on setting up my Mac, and haven't seen any negative side effects.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .