Rename file from inline JS #295
Unanswered
sector101010
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a daily template that uses
inputPrompt
to get the desired date to create the daily note for a specific date.How can I rename the created file to the value of the
td
variable below? I can ask for the file name in the action settings, but then I have to enter it twice.I tried
this.app.workspace.getActiveFile()
, but this just gives me the template file.Using Obsidian 1.0 with QuickAdd 0.5.5.
Beta Was this translation helpful? Give feedback.
All reactions