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