- Close a window by specifying its title.
Parameters
- x: The text of a window title
- Space within parameter is allowed
- A trailing "*" on the parameter is allowed
Usage
- closeWin x
On Error
- If multiple windows are found to match the parameter, the first window with the match title will be set into focus.
- If no match is found, command is ignored.