Triggering an Obsidian command from within an event callback

If you look at the post below, I showcase some ways of traversing the app.command.commands list of commands which holds the various ID’s. In the post I further exemplify how to get the hotkeys related to a command, which might not be useful in your case, @js2hou .

Here is another version traversing the same list (also by me :slight_smile: ):