Accessing clipboard through software built on Python

Marko Rauhamaa marko at pacujo.net
Sat Oct 27 12:12:23 EDT 2018


Michael Torrie <torriem at gmail.com>:
> As far as I know it's not possible for an application to directly yank
> highlighted text from another application.

That's an age-old pattern in X11. I don't know if Wayland supports it.
Application 1 holds a selection (usually highlighted) and Application 2
wants to copy the selection. No clipboard is needed. Application 2
simply asks for the selection. The request is relayed to Application 1,
which generates the response:
<URL: https://en.wikipedia.org/wiki/X_Window_selection#Selections>
Marko


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /