shabegom / buttons

Buttons in Obsidian
The Unlicense
478 stars 50 forks source link

[FEAT]Calculate And Execute the corresponding actions #5

Closed Quorafind closed 1 year ago

Quorafind commented 3 years ago

WHAT

I don't know if it is doable that calculate how many times the buttons has been pushed, and if it is doable.

Is it possible to execute the corresponding actions based on the number of times?

like:

name Daily Quote
type Text
times [1-n]
loop True
action: [1: action1;2: action2;3: action3;4: action4.....n: actionN;]

WHY I NEED AND HOW TO USE IT

It will be useful when I want to create different files in different day.

Or for building a text game.

shabegom commented 3 years ago

Interesting idea! I'll add it to my list of things to explore.

shabegom commented 3 years ago

So I'm getting closer with the new swap button. Check it out and let me know what you think!

Quorafind commented 3 years ago

@shabegom I will try it later~Thanks for your hard job.

OuchPotato commented 1 year ago

@shabegom this issue can be closed. Thank you for implementing this interesting idea