Closed RoomieOfficial closed 1 month ago
Unfortunately its fairly difficult to get at text that's not in the editor. I believe the way that dataview works is that it derives some text content to display. The best workaround that I can think of would be to copy the text in the dataview and paste it elsewhere to play.
If I were to implement this in the plugin, I don't think I can access the text nor trigger a copy action. I could perhaps implement functionality to play from the clipboard. It's a little awkward but I could see it still being useful (Could also be useful as a mechanism to read arbitrary content. For example: copy from browser, switch to obsidian and press play)
That’s would be very cool! No stress/pressure at all of course, I’m sure this is very niche
On Wed, Oct 2, 2024 at 07:22 Adrian Lyjak @.***> wrote:
Unfortunately its fairly difficult to get at text that's not in the editor. I believe the way that dataview works is that it derives some text content to display. The best workaround that I can think of would be to copy the text in the dataview and paste it elsewhere to play.
If I were to implement this in the plugin, I don't think I can access the text nor trigger a copy action. I could perhaps implement functionality to play from the clipboard. It's a little awkward but I could see it still being useful (Could also be useful as a mechanism to read arbitrary content. For example: copy from browser, switch to obsidian and press play)
— Reply to this email directly, view it on GitHub https://github.com/adrianlyjak/obsidian-aloud-tts/issues/47#issuecomment-2388779422, or unsubscribe https://github.com/notifications/unsubscribe-auth/BALJ6FL6MBLAEOB6QVDRANTZZP6R3AVCNFSM6AAAAABJCOJXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBYG43TSNBSGI . You are receiving this because you authored the thread.Message ID: @.***>
Hey there,
I use Dataview to generate a document of randomly ordered "tidbits" from a folder. But when I highlight the Dataview text, aloud says "No text selected to speak". If it's possible to fix (or if there's a workaround?), that'd be amazing.
Thanks!