0

Anyone familiar with autokey-gtk that knows how to copy the entire line which my cursor is currently at? Or more specific: how to add the current line to the clipboard?

I can make a script that paste what is selected by the mouse. But I do not want to use the mouse.

1 Answers1

0

It's quit old post, but it was found by google search and therefore maybe it helps other. Paste text into clipboard can be done with clipboard.fill_clipboard("TEST")

https://autokey.github.io/api/gtkclipboard.html#autokey.scripting.clipboard_gtk.GtkClipboard.fill_clipboard