ApplesauceOS
Read Markdown ↗Download .md

copyText

Replace the clipboard text.

js
copyText(text)

Arguments

ArgumentTypeMeaning
textstringNew clipboard contents.

Returns

No return value (undefined).

Example

js
copyText("Hello");

All JavaScript APIs · Automation playbook