quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

[FEATURE REQUEST] allow variable in filename in capture

Open pcause opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. I want to use global hotkey and create a note with quick add and not have the destination be fixed

Describe the solution you'd like Allow quickadd variables to be included in the file name spec foe the capture. I can then use:

/vault/inbox/captures/{{VALUE:filename}}

and have quick add prompt me for the filename and then use the value i enter as the file name to be created/added to.

could be a DATE or VDATE or any of the variable types.

pcause avatar Nov 26 '22 15:11 pcause

I could get a variable file name with the syntax Folder/@{{value:file_A,file_B...}}.md, and @ here is a prefix I used for that group of file names-to show that it's also possible to include the static element.

I have created file_A, file_B, ... already.

I think I'm referring to the same thing as you?

jaymaleoca avatar Nov 27 '22 00:11 jaymaleoca

If we could use {{MACRO:MyMacro::Start}} in the filename , that could be more flexible

ChitaGideon avatar Nov 27 '22 05:11 ChitaGideon

I could get a variable file name with the syntax Folder/@{{value:file_A,file_B...}}.md, and @ here is a prefix I used for that group of file names-to show that it's also possible to include the static element.

I have created file_A, file_B, ... already.

I think I'm referring to the same thing as you?

yes, that would be similar, but I want to be prompted, not select from a set of options, or use others of the variables

pcause avatar Nov 27 '22 10:11 pcause

Hey 👋🏻, i'm not native english speaker so it could be posible that i misunderstood the thread but im using this format 900 - 🗓️ Journal/{{VDATE:Enter the tasks date, YYYY-MM-DD}}.md to dinamicaly create task and append it to a custom daily note and works sharp

image image

new file image

bohorquezod avatar May 31 '23 03:05 bohorquezod