plugins using cmd()

• Sep 11, 2024 - 11:47

In a plugin, things like cmd("voice-2") or cmd ("voice-x14") , do not work anymore:
INFO | main_thread | ActionsDispatcher::dispatch | no one can handle the action: voice-2

What is an actionable client that can handle this? (and how to fix this?)


Comments

I'm brand new to plugins, but I'm getting this error in 4.4.4 (but not 3.6.2) only when my pluginType is set to "dialog". I'm wondering if the problem has to do with the dialog window having focus? I'm calling cmd("select-all") and cmd("escape"), and they work fine if pluginType is unspecified. Creating an ApplicationWindow instead of setting pluginType to "dialog" seems to be a viable workaround for me.

Do you still have an unanswered question? Please log in first to post your question.