Terminate Process
The Terminate Process command goes through several routines to make sure that the window or program selected is completely closed.
Script Editor > Expand Windows/Programs Category > Terminate Process
Identify By
First select whether to terminate the process by process name (typically a .exe file name) or by the window title.
Name
Based on the selection above, insert the name of the window or process to close. Or click on the Browse button to choose from a list of open windows or running processes.
If using the Close Window option, select an exact or partial match of the window title.
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".
Use 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.
Timeout:
The Terminate Process command uses several methods to attempt to close the window or program. The Timeout setting determines how long Macro Express waits before trying the next method.