shabegom / buttons

Buttons in Obsidian
The Unlicense
478 stars 50 forks source link

Feature Request: run multiple commands #58

Closed rapatel0 closed 8 months ago

rapatel0 commented 3 years ago

It would be really great if the button could run a multiple commands in a sequence.

for example. In my daily notes, i run:

I would love to wrap this into a single button that i just click at the end of the day.

Button code could be"

button
name Note to Folder
type command
action Folder Note: Make Current Note to Folder
action Toggle edit/preview mode
action Note Refactor: Split note by headings - H3
color blue

^button-hzax

Note: *Note Refactor can only run in edit mode so it needs to switch back to edit to run properly.**

shabegom commented 3 years ago

This is on my list! I was using Templater scripts as a workaround for multiple commands but this would definitely be better.

shivenigma commented 3 years ago

I would love the same feature. On button click, load workspace, then choose which workspace should be loaded.

Not sure if obsidian API supports this yet, though.

JustroX commented 2 years ago

Hello, any updates on this? Same use-case here with @shivenigma . Thank you!

blankster commented 2 years ago

+1 for this from me, that would be very useful and @rapatel0's syntax proposal would be intuitive. Thanks in advance for considering this improvement/feature.

200found commented 1 year ago

i would also enjoy this feature

UsefullPartBrad commented 1 year ago

upvote