Taitava / obsidian-shellcommands

Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
351 stars 11 forks source link

Events, part 1 #123

Closed Taitava closed 2 years ago

Taitava commented 2 years ago

Discussed in https://github.com/Taitava/obsidian-shellcommands/discussions/60

Events that will be implemented now:

New variables:

Other things:

DaveyUS commented 2 years ago

What are the chances we could get an event that triggers when a link is clicked with a {{event_link_text}} variable?

A usage example would be when clicking [[audiofile.mp3]] the event would trigger allowing me pass the mp3 name to a python script.

Amazing plugin btw!

Taitava commented 2 years ago

What are the chances we could get an event that triggers when a link is clicked with a {{event_link_text}} variable?

A usage example would be when clicking [[audiofile.mp3]] the event would trigger allowing me pass the mp3 name to a python script.

Thanks for the question! 🙂 To keep idea discussions separate from implementation issues, I answered your question in this events related discussion: https://github.com/Taitava/obsidian-shellcommands/discussions/60#discussioncomment-1907260

Amazing plugin btw!

Thank you! 😎

Taitava commented 2 years ago

Released.