Skip to main content
Version: v6.5.0

Set-Clipboard-Text

Command Description​

Set clipboard text

Command Prototype​

Clipboard.SetText(sText)

Parameter Description​

ParameterRequiredTypeDefaultDescription
sTextTruestring""The new text content in clipboard

Demo​

TracePrint("----------------------------Set clipboard text ----------------- ----------") 
//-------------------------------------------------------------------------------
//[Remarks] Set the clipboard text.
//Input parameter 1:
// sText--Clipboard content. Note: new clipboard text content
//out parameters:
// None
//Command prototype: Clipboard.SetText(sText)
Clipboard.SetText("Clipboard content")