Skip to main content

Get Clipboard Text

Command description

Read text from the current system clipboard and save it to a text variable. The result can be processed by subsequent text commands.

Command Input Parameters

None

Command Output Parameters

Output parametersOutput parameter typeDescription
ContentstrThe text content in the current system clipboard

Note

  • This command reads text only. If the clipboard contains a file or image, it usually returns an empty string.
  • To write text to the clipboard, use Set Clipboard Content.
  • To place a file on the clipboard, use Add File to Clipboard.

Generation Notes

  • This command reads only text. The result may be empty when the clipboard contains files or images.