czottmann / obsidian-actions-uri

A plugin for Obsidian (https://obsidian.md) that adds additional `x-callback-url` endpoints to the app for common actions — it's a clean, super-charged addition to Obsidian URI.
https://zottmann.dev/obsidian-actions-uri/
MIT License
138 stars 6 forks source link

[Feature Request] `/note/get-active` | New Return Value: Selection #90

Closed FelipeRearden closed 4 months ago

FelipeRearden commented 5 months ago

Hello Carlo !!!!!

I am using the /note/get-active to transfer content from Obsidian to external apps on iPadOS using Shortcuts.

This way, I would like to know if you could add the text select in the Obsidian active note as one of the values returned by this route. Maybe result-selection ?

My idea is to add a IF statement to evaluate if the result-selection is empty or not and transfer the selection or the entire content of the note (result-body) based on this criteria.

📷 Something Like this (WIP) IMG_0003


Thanks for reading this !!!!! I hope you like my suggestion 🙏 🙏 🙏

Let me know if you need more information !!!

Have a great day 🌞

czottmann commented 4 months ago

Good idea, let me look into it!

czottmann commented 4 months ago

Implemented, will be rolled out in v1.6 later this week! Thanks for the idea, @FelipeRearden! 🤙🏼

FelipeRearden commented 4 months ago

Implemented, will be rolled out in v1.6 later this week! Thanks for the idea, @FelipeRearden! 🤙🏼

Working perfect on version 1.6.0 on Obsidian Mobile 1.6.5

Thank you very much Carlo for the new feature ! I am happy to know that you liked my FR

I wish you a fantastic day ☀️