Page 1 of 1

Keyword: closeWin - Close window

Posted: Tue Dec 28, 2021 7:58 am
by YiMeng
Description
  • 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.