Custom Media Keys?

Hello guys. I want to ask, if there’s any way to capture, or custom media keys, which are the Previous, Play and Next keys on the Apple Keyboard. The reason that I want to custom them is that some applications, such as Netease Music, cannot be controlled by these three keys for some reason (sandbox). So I wonder if I can capture these three keys, and then see whether the Netease Music is running. If it is running, then the action will execute the global keystroke of Netease Music, and if not, the action will be the default function.

You can, I believe, detect them using the USB Device Key trigger. But you cannot interfere with their normal behaviour.

Alternatively, use the FN key to get function keys instead and use Hot Key triggers.

1 Like

Hi peternlewis, thanks for your reply.
It seems that there’s no other good way but to use FN keys to get function keys remapping.
BTW, do you know whether there’s any action that Keyboard Maestro can pop up a window, or a menu, where users can choose an item using arrow up and down? Not a drop down menu, which I have to use the mouse to choose.

It is best to ask new questions in new topics.

In Keyboard Maestro, the best way to do this is to create multiple macros with the same trigger. Keyboard Maestro will display the Conflict Palette which lets you select among the alternatives.

1 Like

Thanks very much, this is exactly what I need.