glawrie 0 Posted March 25 Share Posted March 25 I use a keyboard that for reasons unknown is unable to send the media key codes successfully to macOS - hitting play/pause works to play/pause the currently selected media app, but hitting "next" or "prev" media keys does nothing. If I simulate these keypresses using the macos "keyboard viewer" app then the media apps all respond correctly - but opening the keyboard viewer simply to skip a track is tedious, and I don't have the screen space free to leave the viewer visible all the time. My keyboard provider (logitech) is not so far able to rectify the issue - so while I wait I thought maybe I could use Alfred to send the appropriate media key presses to the macos system in response to a command. Unfortunately the mini-player in Alfred is tied to the Music app and I'm using something else. Is there a way to get Alfred to do this? Thanks in advance for any help. Link to post
deanishe 1,449 Posted March 25 Share Posted March 25 27 minutes ago, glawrie said: Is there a way to get Alfred to do this? This Python script can simulate media key presses. Link to post
glawrie 0 Posted March 25 Author Share Posted March 25 14 minutes ago, deanishe said: This Python script can simulate media key presses. Thank you! I'll see if I can patch it into a workflow 😬 Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now