Replies: 2 comments 1 reply
|
I've got the same question. I'd like to make a macro that prompts for and creates the folder name and then creates the file with the same name in the folder. |
|
Very late answer - sorry about that. The token you were reaching for exists now: Run it while the Thesis note is open and you get @jimbo108108: folder paths accept format syntax too, and missing folders are created automatically. Use the same variable in the folder path and the File Name Format, and one prompt fills both:
Docs: https://quickadd.obsidian.guide/docs/FormatSyntax#filenamecurrent Closing as resolved. |
Uh oh!
There was an error while loading. Please reload this page.
I'd like to use the current file name, usually the name of a project, in the creation of a new note.
For example I'm on a project called Thesis, and I want to make a note with the file name format of
2023-08-22--Thesis--Meetingwith the Meeting Template in the same folder as the current folder.I've tried this a few ways and it doesn't work, but I think I'm misunderstanding. I've tried to create a template with file name format as
{{DATE}}--{{FIELD}} Meeting Minutesin the hope that it would suggest fields like the documentation says. I've also tried{{DATE}}--{{FIELD:alias}} Meeting Minutes, I've also tried {{DATE}} {{NAME} (but def am using those wrong).I also tried making a macro that would copy the file name, run the meeting template and then editor command paste into the file name format of
{{DATE}}--{{VALUE}}but no luck there as well. Any suggestions?All reactions