Features

Allow us to call plugins with shortcuts.

4y agoCompleted

Currently the way to call plugins is to type cmd+opt+J, type / and the name of the plugin.

Allow us to call them using a shortcut or X-Callback url.

and 1 other

11 comments

  1. Already works! https://help.noteplan.co/article/49-x-callback-url-scheme#ru…, but the actual command name has to be used, not an alias.

  2. 1. Can you update the main post if you now have the x-callback part of this working?

    2. When you say 'shortcuts' do you mean keyboard shortcuts, or the separate Shortcuts app ecosystem? I guess you mean the second?

  3. Stacey4y ago

    I think the "Link Creator" plugin is what you're looking for. It allows you to find the x-callback for plugins. (David Wertheimer can provide more insight)

    For keyboard shortcuts to run the plugins, I do that in System Preferences > Keyboard > Shortcuts > App Shortcuts.

    1. Leo4y ago

      Stacey: The link creator doesn't help with plugins, and the /runPlugin url doesn't work https://help.noteplan.co/article/49-x-callback-url-scheme#ru…

      noteplan://x-callback-url/runPlugin?pluginName=Note%20Helpers&command=move

      Expectation: having the /move command of the Note Helpers plugin executed and see a prompt to type the folder

      Reality: nothing happens.

    2. Stacey4y ago

      Leo: I have a couple of plugin links in my template. I'm going off of what I learned from David Wertheimer in his workflow demo here: https://discord.com/channels/763107030223290449/104223265437…

    3. Leo4y ago

      Stacey: I can't access this discord link. But not even the test link in the documentation (https://help.noteplan.co/article/49-x-callback-url-scheme#ru…) works, and I have the Note Statistics plugin installed.

      noteplan://x-callback-url/runPlugin?pluginName=🔢%20Note%20Statistics&command=nc

      Even if you remove the 🔢%20, which I assume is a typo, still nothing happens.

      noteplan://x-callback-url/runPlugin?pluginName=Note%20Statistics&command=nc

    4. Stacey4y ago

      Leo: Hmm, it seems to be working for me. I am getting this: noteplan://x-callback-url/runPlugin?pluginID=np.statistics&command=note%20stats

    5. Stacey4y ago

      I used "RUN a Plugin Command"

    6. Leo4y ago

      Stacey: noteplan://x-callback-url/runPlugin?pluginID=jgclark.NoteHelpers&command=move%20note works! Thank you so much.

      So the "command" argument has to be the complete command name; aliases do not work (that's why the documentation doesn't work either). Eduard Metzger

    7. Leo4y ago

      Stacey: Thanks again Stacey for solving this problem!

    8. Leo: Thanks for sharing this! The documentation doesn't mention aliases, you mean it should?