I was wishing for some kind of scripting facility in Joplin, but this suggestion put the idea in my head that it might be sufficient to make all menu options accessible by a sequence of keystrokes (well, on desktops). Then any external keystroke generator could do the job. It would also fulfill this request to a high degree.
The Windows version does already support it on the toplevel of the menu bar (e.g. Alt+V for ‘View’).
It reminds me that you can do a lot more with keystroke generators, like inserting (parametrized) text in notes. No urgent need to build this functionality in.