NotePlan
NotePlan
Jan 26

Allow us to call plugins with shortcuts.

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.
CompletedCompleted

Feb 23, 2023

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.

Jan 26, 2023

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?

Jan 26, 2023

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.

Jan 26, 2023

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.

Jan 26, 2023

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…

Jan 26, 2023

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

Jan 26, 2023

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

Jan 26, 2023

I used "RUN a Plugin Command"

Jan 26, 2023

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

Jan 26, 2023

Stacey: Thanks again Stacey for solving this problem!

Feb 23, 2023

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