dsnote
dsnote copied to clipboard
Feature Request: automatically paste text after processing
I have just discovered Speech Note and I'm really liking it so far.
I am mostly using the background mode that copies the processed text to the clipboard. Currently I am watching the tray icon to see when it is done processing so I can paste the results into my active window. I think this is faster than the "text to active window" mode.
Would it be possible to have a mode that automatically pastes the processed text into the active window after it's been copied to the clipboard? It feels like this would be faster than the letter-by-letter "text to active window" mode.
Either way, thank you for developing Speech Note!
Wow, interesting suggestion :)
Indeed, instead of simulating keystrokes for all the text, SP could send only "Ctrl + V"... This might work!
The only disadvantage of using system clipboard as a "proxy buffer" is that on Wayland, the application cannot access the clipboard when it is not in focus. So this method will not work. But for X11 it can be a nice optimization.
This is a good idea. I would further request that if such a feature is implemented, the keyboard command be customisable such that the user is given at least a choice between Ctrl+V and Shift+Ctrl+V (for compatibility with terminal emulators, vim, etc.)
implemented
@temperfugit code merged, you may clone and compile the main branch with flatpak builder and see it in action