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

    Function WinSetTransByHandle

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

      Parameters

      • windowHandle: bigint

        The handle of the window.

      • transparency: number

        The transparency level (0-255).

      Returns number

      1 if successful, 0 otherwise.

      import { WinSetTransByHandle, WinGetHandle } from '@ahmic/autoit-js';

      const windowHandle = WinGetHandle('Untitled - Notepad');

      WinSetTransByHandle(windowHandle, 128);