Any workaround for plugins/commands hotkeys?

Since the official hotkeys support doesn’t seem to come anytime soon I was wondering if any workarounds exist in Photoshop? That don’t require to build some obscure C++ hybrid plugin with keyboard listener.
I thought making a psjs script that somehow calls a command/function/event on the panel would work however I can’t seem to find a way of communicating with the plugin.
What I tried:

  • using pluginManager to invoke a command: uxp.pluginManageris undefined in the script (maybe because enablePluginCommunication permissions can’t be set for scripts?);
  • using action.recordAction() to emit an event: I’m getting an error that recordAction isn’t supported in scripts;
  • finding the command menu ID and using it in ps.core.performMenuCommand() : this doesn’t seem to do anything;
  • adding an history step and listening for history events on the panel. This kinda worked but even an empty script with suspendHistory takes several seconds to execute?? unless I’m doing something wrong?

Anything else I could try? All this is depressing :frowning: