Skip to main content

Clear-Text

Command Description

Clear the text displayed on the screen

Command Prototype

PrintToScreen.CleanText(objWindow)

Parameter Description

ParameterRequiredTypeDefaultDescription
objWindowTrueexpressionobjWindowScreen writer, the output of the command "Create Screen Writer"

Demo

TracePrint("--------------------------Clear text------------------- --------") 
//-------------------------------------------------------------------------------
//【Remarks】Clear the text displayed on the screen writing window. (Need to be used together with the command to create a screen-writing object)
//Input parameter 1:
// objWindow--screen writing window object. Note: The screenwriting window object, the output of the command to create the screenwriting object
//out parameters:
// None
//Command prototype: PrintToScreen.CleanText(objWindow)
PrintToScreen.CleanText (objWindow)