How to get a URI with Advanced URI - chrisgurney/obsidian-note-toolbar GitHub Wiki

There may be times when you want to execute a command via a URI, for example in Note Toolbar Callouts.

To get the command ID with the Advanced URI plugin:

  1. Install the Advanced URI plugin (install via Community plugins: Advanced URI)
  2. Press Ctrl+P (or Cmd+P on macOS) to open the Command palette.
  3. Run the command: Advanced URI: copy URI for command
  4. Select: <Don't specify a file>
  5. Search for the command you wish to run and press enter. The URI will be copied to your clipboard.
  6. Paste the URL into your markdown link or toolbar item URI field.

You can also learn about how to execute commands using Note Toolbar URIs, assuming you have the command ID portion.