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