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

    Function WinSetTrans

    • Sets the transparency level of a window. 0 is fully transparent, 255 is fully opaque.

      Parameters

      • windowTitle: string

        The title of the window.

      • windowText: string = ''

        Optional text found in the window.

      • transparency: number

        The transparency level (0-255).

      Returns number

      1 if successful, 0 otherwise.

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

      WinSetTrans('Untitled - Notepad', '', 128);