pre-defining a note name is problematic in some cases. most times when clicking a New Note Button, you would want to be able to type an original note name.
Specifically in some of my templates, I want Templater to use the tp.file.title function each time I make a new note. However, if the note name is predefined, this is not possible.
Expected solution
When creating a new template button, instead of selecting Note Name (What should the new note be named?), there should be a checkbox to select for something like "Name new note in pop-up window".
After clicking the button, a pop-up window to name the new note is presented. such as:
Naming the note would then allow Templater to run and completes the tp.file.title field.
for example, my current use case, where I would want to manually rename New Note:
my current button
name New Task
type note(New Note) template
action New Task
templater true
color blue
Hi @MartynKeigher, thanks for the snippet - it does what it is supposed to do perfectly! And I have added the tp.file.include function so that my Action Items Template can remain unaltered.
For any non-tech people who want to do something similar, here is my current set up.
Button creates new file from Rename File Title Template, which has two functions
prompt user to rename the file
Include the Action Items template
Button
button
name New Action Item
type note(Title, split) template
action Templater - rename file title and include Action Item Template
templater true
color blue
Template 1 - rename file title and include Action Item Template
Problem
Expected solution
for example, my current use case, where I would want to manually rename
New Note:I hope this makes sense and is useful for others.
The text was updated successfully, but these errors were encountered: