Window Close

 

This command instructs a window to close. If the window selected is the window that opens when the program loads, the application as well as the window closes.

 

 

Script Editor > Expand Windows/Programs Category > Window Close

 

 

Choose a window

Choose from the drop down list whether to close the current window or a specific window.

 

Use the current window

Current window refers to the window that has focus when the Window Close command plays in the macro.

 

Specify a window

Enter the title of the specific window to close. Or click on the Browse button to see a list of all windows currently running. Select the window from the list to insert the name into the Window Title edit box.

 

Exact Match

This requires that the window name entered matches exactly with the name of the window waiting to receive focus. For example, if listing Notepad as the window name, but the actual window title is Notepad - Untitled, then the macro would not wait.

 

Partial Match

The Partial Match option does not require an exact window title match. For example, if waiting for a notepad window, inserting "notepad" or "notep" as the window title will find the window. This is particularly useful as some Window Titles change based on whether a given file is open. Case sensitivity is not required. For example, "NOTepad" will work as well as "notepad".

 

The title contains wildcards

Select this option if a wildcard is included in the window title name. A wildcard uses the " * " or " ? " characters in the title to expand the possibilities of a match. These are similar to the wildcards used in Windows for searches.