io.aviso.clipboard

added in 0.1.33

Utilities for accessing text on the system clipboard using AWT.

This is segregated from other code to prevent the AWT stack from initializing unnecessarily. On OS X, this initialization is seen as a Java application icon appearing in the Dock.

copy

(copy)

Copies the current contents of the Clipboard, returning its contents as a string.

paste

(paste s)

Pastes a string in as the new content of the Clipboard.