@ahmic/autoit-js
    Preparing search index...

    Function WinKillSync

    • Forces a window to close.

      Parameters

      • windowTitle: string

        The title of the window to close.

      • windowText: string = ''

        Optional text found in the window.

      Returns number

      1 if successful, 0 otherwise.

      import { WinKillSync } from '@ahmic/autoit-js';

      WinKillSync('Untitled - Notepad');