Skip to main content


Command Description

Close the writing screen window that is being displayed

Command Prototype


Parameter Description

objWindowTrueexpressionobjWindowScreen writer, the output of the command “Create Screen Writer”


TracePrint("--------------------------Close the window------------------- --------") 
//【Remarks】Close the screen writing window that is being displayed. (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.CloseWindow(objWindow)
PrintToScreen.CloseWindow (objWindow)