Skip to content

Copy text

Copy text to the system clipboard from a Flow Pro script.

Updated View as Markdown
For humans
Flow APIFlow Pro scriptingWheel and interface

This article covers the following platforms

Use the Command API to copy text to the system clipboard.

copy_text()

Copy a string to the system clipboard.

SignatureTypeScript contract
copy_text(text: string): void

Parameters

NameTypeRequiredDescription
textstringYesText to copy to the clipboard.
ExampleJavaScript
this.$api.command.copy_text("Copied from Flow");

Returns

voidNo direct return value is documented.
Navigation

Type to search…

↑↓ navigate↵ selectEsc close