| 20% Command group | 20% Flag affected | 20% Reversible | 20% Execute on client | 20% Platform(s) |
|---|---|---|---|---|
| Windows | YES | NO | NO | All |
Close window instance window-instance-name
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.
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()