GetCloseWindows Function

Class

MainWin.

Action

Returns the windows that must close to return the application to base state.

Availability

This functionality is supported on both the Classic Agent and the Open Agent.

Syntax

lwWindows = mainwin.GetCloseWindows()
Variable Description
lwWindows The windows to close. LIST OF WINDOW.

Notes

GetCloseWindows returns the list of windows, in order, that CloseWindows must close to return the application to base state, with just the MainWin open. If only the MainWin is open, GetCloseWindows returns an empty list, {}.

Example

	[-] if (TextEditor.GetCloseWindows != {})
		[ ] TextEditor.CloseWindows()