Triggering an Obsidian command from within an event callback

SOLVED:

In line 11,776 of the QuickAdd plugin we see the ‘executeCommandById’ method:

   this.app.commands.executeCommandById('app:open-settings');

And this command does what one would expect… it runs the names command.
Wow, what a crazy way to code! I cannot wait for the plug-in API to be released…
(I didn’t find this method listed in any of the unofficial docs that I looked at)

7 Likes