Skip to main content

Read-Clipboard-Text

Command Description

Read Clipboard Text

Command Prototype

sRet = Clipboard.GetText()

Parameter Description

ParameterRequiredTypeDefaultDescription
NoneNoneNoneNoneNone

sRet,The variable used to save the output of the command.

Demo

TracePrint("--------------------------------------Read clipboard text---------------- -------------") 
//-------------------------------------------------------------------------------
//[Remarks] Read the clipboard text.
//Input parameter 1:
// None
//out parameters:
// None
//Command prototype: sRet = Clipboard.GetText()
sRet = Clipboard.GetText ()
TracePrint (sRet)