|
Close a Window Action |
Description
|
|
|
Parameters
Window Title
Specifies the title (caption) of the Window you wish to close. The title of a window is located on the top left of the title bar of that window. For example, if Notepad is launched without a document, its caption is "Notepad - Untitled" (without the quotes).For convenience, a drop down list of currently open Windows is available to quickly and accurately select the desired Window title.
Don't display hidden windows in the Windows Title Bar List
When checked this option causes the Window list to only display "visible" windows. When unchecked all window's that are open on the system are displayed - even "system windows" that you normally can't see. Unchecking this option is useful is you wish to select the main window of a system tray based application.Window title must match exactly
Specified whether the Windows title entered is a partial title match or must match exactly. When unchecked, AutoMate will search for window titles that contain that text. This option is useful if you are dealing with a window title that may change depending on the document that is open -- for example: Microsoft Internet Explorer also displays the currently open web page. If you didn't care what page was open but you still wanted to specify the Internet Explorer window you would uncheck this option and enter "Microsoft Internet Explorer". If a window was found on the system with that text contained in the title it would be successful regardless of what comes before or after that text.
Note:s
Using Close a Window to close entire applications
Although closing an applications "main window" will always result in the application being shut down -- you may want to consider whether it would be better to send keystrokes to the application to select its File | Exit menu options. (usually by Sending the following keystrokes %FX~)On Closing System Tray Applications
Note that using the Close a Window action is usually the only way to shut down system tray based applications. To close a system tray application uncheck the "Don't display hidden windows option" and search for the tray applications "main window". Depending on the application this may or may not be easy to find based on the actual application name.
Related Topics: