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

    Function WinSetOnTop

    • Sets whether a window is on top of all other windows.

      Parameters

      • windowTitle: string

        The title of the window to set on top.

      • windowText: string = ''

        Optional text found in the window.

      • onTop: boolean

        Whether to set the window on top or not.

      Returns number

      1 if the operation was successful, 0 otherwise.

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

      WinSetOnTop('Untitled - Notepad', '', true);