Macro or key command for accidentals

I use a lot of the Stein-Zimmerman accidentals in 24 EDO. Is there a way to make a key command or some sort of macro to apply these to a note, without having to pick off the palette with the mouse?

My first impulse here is to refer you to this thread:

Depending on the complexity of what you actually want to happen, other approaches are conceivable.

The broken link at the top of that thread (“thanks to Leo and Daniel”) should point to Dorico 3 - Keyboard shortcuts for microtonal accidentals? - #5 by pianoleo