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

    Function WinSetTitleSync

    • Changes the title of a window.

      Parameters

      • windowTitle: string

        The title of the window to modify.

      • windowText: string = ''

        Optional text found in the window.

      • newTitle: string

        The new title to set for the window.

      Returns number

      1 if successful, 0 otherwise.

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

      WinSetTitleSync('Untitled - Notepad', '', 'New Title');