I need some advice here....
(Jean, help!
)
I have created a favorite that creates a note in Obsidian, part of the file name is entered using the Input-function.
Now, I would like to create a group that triggers that favorite, and then selects the correct template in Obsidian to apply to that file.
My plan is to use this on several templates, but lets use my first try as an example.
In Obsidian I have what I call "QuickNotes", this is notes that I often use as a landing zone for stuff I want to look at later.
So I have favorite in QAP that contains this:
Code:
obsidian://new?vault=MainVault&name={Input:QuickNote name}-QuickNote
This favorite pops up a Input box, I type the first part of the note name, f.ex. "Test QAP" (without the quotes), Obsidian then pops up front and center with a note called "Test QAP-QuickNote".
Manual workflow to apply the template
- Hit CTRL-P
This brings up the Obsidian command palette
- Start typing "template" (without the quotes)
The smart search narrows down the commands as you type,
but I obviously want QAP to enter the full command to avoid disambiguation
- The "Template: Insert template" command
is what I want, this brings up the available templates.
Possible automated workflow?
- Trigger the group
- Enter the file name as described above.
- Snippet: type Ctrl-P
- Snippet: enter "Template: Insert template" (without the quotes)
- Snippet: hit Enter
- Snippet: type "quick-note" (without quotes), this is the name of the template
- Snippet: hit Enter
So, how should I go about to get this working?
Should I split this in different snippets?
What settings should I use for delays, both on a group level, and for each favorite?
Any suggestions or advice greatly appreciated.
Regards,
-joeNOR