Map Spotify to eject key #3919
Unanswered
occasionalfindings
asked this question in
Q&A
Replies: 3 comments
-
An example rule for opening Spotify with ctrl + opt + S. You can adjust it to your needs. {
"description": "Ctrl + Opt + S (Open Spotify)",
"manipulators": [
{
"from": {
"key_code": "s",
"modifiers": {
"mandatory": [
"control",
"option"
],
"optional": [
]
}
},
"to": [
{
"shell_command": "open -a Spotify"
}
],
"type": "basic"
}
]
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your quick reply @raxigan . I am at a loss how to add this as a complex formula. The screenshot shows an example for Eject to lock, but I fail to add your script without receiving any errors. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yep, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am looking for a way to map the Spotify app to the eject key on the Apple Magic Keyboard. Controlling Spotify is done through MacMediaKeyFowarder, but I haven't found a way to start Spotify with a keypress.
Any help would be greatly appreciated.
Cheers :)
Beta Was this translation helpful? Give feedback.
All reactions