shabegom / buttons

Buttons in Obsidian
The Unlicense
455 stars 47 forks source link

Argument support: Trigger a Plugin's submenus #154

Closed Gewerd-Strauss closed 5 months ago

Gewerd-Strauss commented 1 year ago

Hello,

I mostly use the very versatile Quickadd plugin for information capture via a hotkey. Now I want to figure out how to do this via specific buttons as well, but the quickadd-plugin itself does not expose the menu items themselves as a command. As a clarification, in the below image only "Link Collectors" and "Log" are submenus, with most commands below them being logging setups into specific files. Thus, only "Link Collectors" and "Log" are visible when using the action QuickAdd: Run QuickAdd-command. The question I now have is if there is a way to create a button that preselects one of those submenu items? All choices above are part of either of the two submenus, either nested further in or not. If this is not possible, would it be supportable as a FR?

grafik

Thank you.