Program Shut Down


Program Shut Down closes a program based on the window title name. While the Window Close command can be used to shut down a program if the window specified is the main window, the Program Shut Down option closes the program regardless of which program window is selected.



Note: Another option for closing programs is the Terminate Process command. This option also closes applications where the window title is not seen, such as notification area applications that run in the background.



Script Editor > Expand Windows/Programs Category >Program Shut Down



Choose a window

First choose the window of the program to shut down. Select from the current window or specific window options.


Current Window

Current Window refers to the window that has focus when the Program Shut Down command is run in the macro.


Specific Window

Enter the title of the specific window to close. Or click on the Browse button to view 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.