Clipboard
If you need to access the system clipboard, the following commands are available:
-
.topLevel.clipboard_get()
This will return the contents of the clipboard as a string. -
.topLevel.clipboard_append("hello world")
This will append the specified text to the clipboard. -
.topLevel.clipboard_clear()
This will clear all text form the clipboard.