hluk / CopyQ

Clipboard manager with advanced features
GNU General Public License v3.0
8.63k stars 440 forks source link

Get clipboard owner from script #2567

Closed hluk closed 9 months ago

hluk commented 9 months ago

Adds currentClipboardOwner() function to scripting which returns name of the current clipboard owner. This by default returns currentWindowTitle().

The value is used to set mimeWindowTitle format for the clipboard data in automatic commands and filtering by window title.