Close window instance

Command groupFlag affectedReversibleExecute on clientPlatform(s)
WindowsYESNONOAll

Syntax

Close window instance
 
window-instance-name

Description

This command closes the specified window instance. Close window instance clears the flag and does nothing if the window is a private instance belonging to the current task. Alternatively you can use the $close() method to close a window instance.

Example

Test for window open
 
wMyWindow

If flag true
  
Close window instance
 
wMyWindow

End If
 
# Alternatively, you can do it like this

Do
 
$root.$iwindows
.
wMyWindow
.
$close
()