Set-Clipboard-Text
Command Description
Set clipboard text
Command Prototype
Clipboard.SetText(sText)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
sText | True | string | "" | 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")