I normally use spotify for music, but I go from time to time to iTunes to listen to some Podcasts.

Sometimes I have both applications opened, and when I want to stop one, I select the application and ( + tab until finding the app) and I hit space which stops playing it.

The thing is that I developed that habit because of the play/pause key wasn't working, and was only stopping iTunes if it was opened.

I would like the play/pause key (and all music related keys) to work on the app that I selected last, is that possible or configurable?

I am using a Macbook Pro with Touch Bar (Mojave 10.14.1)

  • are you saying that Spotify is not reacting to the play/pause keys ? or to stop iTunes from opening.
    – Ruskes
    Dec 22, 2018 at 16:41
  • When iTunes is also opened
    – eLRuLL
    Dec 22, 2018 at 16:48
  • right now the play key is linked to iTunes only, not to your top window. First we need to find a way to unlink iTunes from it when iTunes is in background and Spotify is the active window. Tough one !
    – Ruskes
    Dec 22, 2018 at 16:59

1 Answer 1


I found this for you.

Mac Media Key Forwarder

Forwards media keys to iTunes or Spotify directly.

You can prioritize which app you would like to control or you can go with the default behavior which controls the running app. The app runs in the menu bar.

It has some limitations.

It might not work on Mojave till (if) the developer fixes it.

You must log in to answer this question.

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