chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.48k stars 135 forks source link

[BUG] Invoking Macro with commands shows "No Commands" in macro ?! #597

Open qlassiqa opened 9 months ago

qlassiqa commented 9 months ago
  1. I created a test capture that appends a line at the bottom of an existing file.
  2. I created a macro via macro manager that contains a 1s wait + that test capture command.
  3. Assigned the macro to a new tester macro choice
  4. Invoking the tester macro says "No Commands" when there are 2 commands in the macro.

I attached a screenshot showing the macro's commands, and the error message showing that there are no commands in the macro. Screenshot-01_11_2023-15 24 35

I'm using the Desktop version of Obsidian, with NO other community plugins except QuickAdd. I watched videos of people using the same workflow and worked just fine, tried to recreate what they did, but it's always saying no commands.

qlassiqa commented 9 months ago

OK, so apparently I have to quit Obsidian and reopen it after creating a macro, otherwise it won't work.

There should be an information message when creating macros, something like "Please restart Obsidian for macro to register" if it's not possible to register the macro immediately after creating it.

FeralFlora commented 9 months ago

In my case, restarting doesn't solve the issue, but I found a workaround until this is solved. See: #576, where this issue has been reported already.