On a Mac, when one presses the Press/Play media key (F8), and no application intercepts that key, it opens iTunes and starts playing. Is there any way to get it to open another app? In my case, I want it to open Spotify. Bonus if it's possible to get it to start playing on launch (Maybe AppleScript is the way to go for this?)
Macos – Making Mac media keys open app other than iTunes
macosmedia-keys
Best Answer
I know this question is old, but other answers don't really solve the problem.
All you have to do is to install Karabiner (previously known as KeyRemap4MacBook).
Then you just have to add the wanted behavior.
Preferences
menu.Misc & Uninstall
tabOpen private.xml
private.xml
in your favorite Text EditorReplace the empty file by this definition :
Go back to
Change Key
tab and click onReload XML
button.You now just have to enable the new item added at the top of the list: