3.3.2.64.2 Options to Delete/CloseWindow_Options_to_Close
-c
Syntax: window -c <winName>
Delete the window named winName.
In this line of script, the Graph1 window is deleted without prompting the user:
window -c Graph1;
While the window is deleted, the datasets may remain as loose datasets. If you wish to destroy the datasets when the window is destroyed, you can use create -cd/-dd/-nd/-xd.
Also, see the @WD LabTalk System Variable.
-cw
Syntax: window -cw <winName>
Delete the window named winName. This command supports wildcard. For example:
window -cw Graph*;
-ca
Syntax: window -ca winName
Close the winName window as if the user selected the Close menu command from the child window system menu.
This option prompts the user with a dialog box.
-cwa
Syntax: window -cwa <winName>
Close the winName window as if the user selected the Close menu command from the child window system menu.
This option prompts the user with a dialog box. This command supports wildcard. For example:
win -cwa Book*;
-cd
Syntax: window -cd winName
Close the workbook and delete all the data.
-cwd
Syntax: window -cwd winName
Close the workbook and delete all the data. This command supports wildcard. For example:
win -cwd Book*;
-cn
Syntax: window -cn winName
Close the winName notes window without prompting.
-cp
Syntax: window -cp winName
Post a message to close the winName window
-cwn
Syntax: window -cwn <winName>
Close the winName notes window without prompting. This command supports wildcard. For example:
win -cwn Notes*;
|