I am trying to send keystrokes on Mac to control Youtube Music Player
1 tap for play pause, 2 taps for rewind, 3 taps for skip
Youtube Music responds to my keyboards play/pause, FF, and rewind button, as well as the built in OSX software keyboards shortcuts.
I tried to send these predefined keystrokes in Midi Translator Pro, and it gives me the following error:
If I change the keystrokes to something else, like the letters “A”,“B”,“C” it works fine.
I’ve tried a few other keystrokes like tab, left arrow, etc and they work.
However other functions like “browser back”, “home”, do not work.
I can test other of the special keys if you want.
[x] Translator 0.0: Set Value
Options: swallow
Incoming: Note On on ch. 9 with note:95 (0x5F) and any velocity
Rules: ga=ga+1
Outgoing: One-shot timer "Set Value": 500 ms delay
[x] Translator 0.1: Send Keystroke1
Incoming: On timer "Set Value"
Rules: 'If 1 Send Pause'
if ga!=1 then exit rules, skip Outgoing Action
ga=0
Outgoing: Keystrokes: Play/Pause
[x] Translator 0.2: Send Keystroke1
Incoming: On timer "Set Value"
Rules: 'If 2 Send Rewind'
if ga!=2 then exit rules, skip Outgoing Action
ga=0
Outgoing: Keystrokes: Prev Track
[x] Translator 0.3: Send Keystroke1
Incoming: On timer "Set Value"
Rules: 'If 3 Send FF'
if ga!=3 then exit rules, skip Outgoing Action
ga=0
Outgoing: Keystrokes: Next Track
[x] Translator 0.4: Send Keystroke1
Incoming: On timer "Set Value"
Rules: 'Reset'
if ga>=4 then ga=0
ga=0
Outgoing: (none)