Close all action in Window

The Close all action in the Window package enables you to close all the windows.

Settings

Note: A maximized window cannot be closed. When running an automation in macOS, if you open a new Finder window while another is already open, both will be closed. However, if you use the Merge All Windows option from the window menu, all open windows will be combined. After merging, running the bot will only close the active window or tab.

In the Add window field, you can provide the title of the application windows that you do not want to close.

You can also search the window titles by using (*) as a wildcard character. Specify one or more (*) wildcards at the start, middle, or end of the title. For example, to perform an operation on any window that has Microsoft in the title, use a wildcard to indicate any string by adding it before or after the value: *Microsoft*. The bot first searches for the exact window title (Microsoft), and if it does not find a match, it searches for windows with the term Microsoft anywhere in the title.
Note: To keep the Bot editor window open, ensure that you add it in the Add window field. For example, enter *Control Room | Automation Anywhere* in the window title to keep it open.