Hotkey for script

What I’m trying to do

I wrote a JS script that moves completed tasks to a ## DONE section in the current note. I am running it with the help of the QuickAdd plugin with a Macro and a Choice. In previous versions of this plugin, added choices where available in the command palette. Now all there is, is “QuickAdd: Run QuickAdd”.

I would like to configure a hotkey to run the script. But apparently now all I can do is run “QuickAdd: Run QuickAdd” with a hotkey, and not directly the script.

Am I missing something? Is there another way than QuickAdd to execute a script from a hotkey?

If you toggle the lighting icon in the QuickAdd settings, this used to enable that entry as a command which could be attached to a hotkey.

1 Like

Thank you very much holroy!