Looking to add a custom command that runs on “save” with Linter.
This command needs to check if my status field is complete, if it is, it should set completion-date property. I do not use Tasks plugin.
I know about Templater, but I can’t seem to find a way to get them so show as a command, which is needed to have Linter run it on save.
I went into Linter settings now and it shows all kinds of commands from third party plugins as well.
So you need to register your Templater script in Templater settings:
Press ‘Add new hotkey for template’ and add your Templater script.
Actual hotkey assignment is not necessary.
The titling is a bit unfortunate here - I mean Template hotkeys should be called something else, like Register template or something. Especially when hotkey does NOT need to be assigned.
Then you can select the Templater script in Linter.
You’ll need to choose the Insert not the Create command there (as both types will be offered in Linter).