Hi, I think my solution would be to change to a <%*
javascript execution block, and build the new path within that code block. So I set out to try to do something like that, and ended up with the following template:
<%*
const baseFolder = '/ForumStuff/f48198/'
const minutes = tp.date.now('mm')
const seconds = tp.date.now('ss')
const newFolder = `${baseFolder}${minutes}/${seconds}/`
console.log(baseFolder, minutes, seconds, newFolder)
await tp.file.move(newFolder + tp.file.title)
%>
<% minutes + ":" + seconds %>
If you insert this into a file, it creates a new folder with the current minute, with the seconds as a sub folder of the minutes folder, and preserves the original file title. (Why you would want to do that with the minutes and second, that’s something entirely else :-D)
But it does work, and should be easily changed into using months and day of month, or whatever.
On the other topic, I would suggest looking into making a shortcut directly triggering your template and creating and moving the file directly from that shortcut. Then your entire process would be to hit your special meeting shortcut key, and it’ll create the file in the designated folder with a proper template ready to fill in the meeting details.
I think Templater has the option to set the file cursor, but I’ve not managed to get the working (and just recently discovered that maybe it’s because I’ve not set it up in the settings pane. Duh!)
Hope this helps,
Holroy