0

I have created a service for music application for next and previous track buttons on my keyboard.

enter image description here

enter image description here

Problem is when i click on music application and press the keyboard shortcut it works, but when I click out of music app, focus out service won't work.

How to fix this?

1 Answer 1

0

I made a solution to make global media keys using automator

First you need to create quick action service for each shortcut you need, for example for next track music I created this quick action service :

enter image description here

Then you need to create automator application(AppleScript) to do the job :

enter image description here

Finally you need to define keyboard shortcuts for actions you created: enter image description here

Now close the windows and enjoy your new functional keys. There should be better solution that creating single application for each task, like sending parameter to single application to do all the actions. I'll update my answer if I could accomplish that.

You must log in to answer this question.

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