Replies: 1 comment
|
Sorry for the slow reply here. Short version: the capture target (the file picker) always resolves before the content is formatted, and there's no setting to flip that order in a plain Capture. But you can get exactly the flow you want - ask WHAT first, then WHERE - by wrapping your capture in a two-step Macro. Step one is a tiny user script that prompts for the idea and stashes it in a variable; step two is your Capture, which reads that variable back so it never prompts for it again. Here's the whole thing:
module.exports = async (params) => {
params.variables.idea = await params.quickAddApi.inputPrompt("What's the idea?");
};
Run the macro and it asks "What's the idea?" first, then opens the file picker - and because the script already filled Two things to watch:
Macro docs: https://quickadd.obsidian.guide/docs/Choices/MacroChoice |
Uh oh!
There was an error while loading. Please reload this page.
I am a newbie user of Quickadd, it's a very powerful tool and simple to use, but...
I want to have one all-purpose command for quickly adding one line ideas to various notes as it comes to mind, and I don't want to do this into the daily notes because I don't really use linked mentions that much (I know I can just link the file on the same line but I don't want to do it this way)
SO I tried to not specify the file where I want to capture, thinking that I could open the popup menu to add the value and after adding the value the plugin would ask me where I want to add this, but instead it first asks me where I want to add my capture and only then it asks about what I want to add, but it's counter-productive because by thinking about where I need to add the information in my short-term memory, I forget what I wanted to add into the note in the first place.
Can anyone suggest a way to do it in this flipped order? Or is this beyond what the plugin is meant for?
Any help is appreciated.
All reactions