<%* const newFolder = ‘/S01 Personal/030-039 Areas/32 Zettelkasten/Fleeting notes/’ -%> <%* function log(msg) { console.log(msg); } -%> <%* const userFileName = await tp.system.prompt(“Filename:”) -%> <%* var newName = newFolder +userFileName+’.md’
if (await tp.file.exists(newName)===true) { newName = userFileName+’_‘+tp.file.creation_date(‘YYYY_MM_DD_HH_mm_ss’) } else { newName = userFileName } -%> <%* tR += await tp.file.rename(newName) -%> <%* await tp.file.move(newFolder+newName) -%>
<% newName %>
<% await tp.system.clipboard() -%> <% await tp.file.cursor() -%>
Linking
Notes mentioning this note
About my usage of fleeting notes, permanent notes and literature notes
<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”> About my usage of Fleeting Notes, Permanent notes and Literature Notes Fleeting...