Closes a window.
The title of the window to close.
Optional text found in the window.
1 if successful, 0 otherwise.
import { WinClose } from '@ahmic/autoit-js';WinClose('Untitled - Notepad'); Copy
import { WinClose } from '@ahmic/autoit-js';WinClose('Untitled - Notepad');
https://www.autoitscript.com/autoit3/docs/functions/WinClose.htm
Closes a window.