Describe the bug
I’ve set up a QuickAdd macro with two steps:
Template – Creates a new note with a specified title, using the variable title and a preview of {{VALUE:title}}.
Capture – Appends the name of the newly created note to the end of a specific heading in another file.
The issue occurs in the Capture step. Instead of inserting the name of the newly created note, QuickAdd inserts the title of the target file itself (the file being appended to).
Example
If I create a new note titled "x" and want its name to be added under a heading in another file called "y", the Capture step incorrectly adds "y" inside "y", instead of adding "x".
To Reproduce
Steps to reproduce the behavior in Obsidian:
Create a new QuickAdd macro with two steps:
Step 1 – Template:
Action type: Template
Creates a new note using a variable called title.
Preview: {{VALUE:title}}.
Step 2 – Capture:
- Action type: Capture
- Target: another existing file (e.g., y.md).
- Capture content: the file name of the newly created note ({{VALUE:title}}).
- Set to append the captured content under a specific heading.
- Run the macro and provide a title for the new note (for example, "x").
- After the macro finishes, open the target file (e.g., "y.md").
- The appended text is "y"
Expected behavior
The capture step should insert the newly created file name instead the the file being appended to.
Obsidian Debug Info (required for bug reports)
Please include the full Debug Info from Obsidian to help diagnose your environment:
- Open the Command Palette (
Ctrl/Cmd+P).
- Run:
Show debug info.
- Click:
Copy to clipboard.
- Paste it below inside the code block.
SYSTEM INFO:
Obsidian version: v1.9.14
Installer version: v1.6.7
Operating system: Windows 11 Pro 10.0.26200
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 2
Restricted mode: off
Plugins installed: 21
Plugins enabled: 20
1: Templater v2.15.2
2: Calendar v1.5.10
3: Dataview v0.5.68
4: QuickAdd v2.4.0
5: Tag Wrangler v0.6.4
6: Excalidraw v2.15.3
7: Nuke Orphans v1.2.5
8: Style Settings v1.0.9
9: Nested tags graph v1.0.4
10: Tasks v7.21.0
11: Reminder v1.1.21
12: Pomodoro Timer v1.2.3
13: Tracker v1.17.0
14: Journals v2.1.10
15: Settings Search v1.3.10
16: Kanban v2.0.51
17: Banners v1.3.3
18: Homepage v4.2.2
19: Charts v3.9.0
20: Git v2.35.0
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Obsidian version: v1.9.14
- QuickAdd version: 2.4.0
- Operating system: Windows 11
- Theme: Default
Console Logs
If applicable, open developer tools (Ctrl+Shift+I or Cmd+Option+I on Mac) and paste any relevant error messages.
Describe the bug
I’ve set up a QuickAdd macro with two steps:
Template – Creates a new note with a specified title, using the variable title and a preview of {{VALUE:title}}.
Capture – Appends the name of the newly created note to the end of a specific heading in another file.
The issue occurs in the Capture step. Instead of inserting the name of the newly created note, QuickAdd inserts the title of the target file itself (the file being appended to).
Example
If I create a new note titled "x" and want its name to be added under a heading in another file called "y", the Capture step incorrectly adds "y" inside "y", instead of adding "x".
To Reproduce
Steps to reproduce the behavior in Obsidian:
Create a new QuickAdd macro with two steps:
Step 1 – Template:
Action type: Template
Creates a new note using a variable called title.
Preview: {{VALUE:title}}.
Step 2 – Capture:
Expected behavior
The capture step should insert the newly created file name instead the the file being appended to.
Obsidian Debug Info (required for bug reports)
Please include the full Debug Info from Obsidian to help diagnose your environment:
Ctrl/Cmd+P).Show debug info.Copy to clipboard.Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Console Logs
If applicable, open developer tools (Ctrl+Shift+I or Cmd+Option+I on Mac) and paste any relevant error messages.