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

    Function TooltipSync

    • Display a tooltip with the specified value at the specified position.

      The actual AU3_Tooltip function from AutoIt appears to be broken so it has been reimplemented here using the Windows User32 library.

      Parameters

      • value: string

        The text to display in the tooltip.

      • x: number = 0

        The x-coordinate of the tooltip position. Default is 0.

      • y: number = 0

        The y-coordinate of the tooltip position. Default is 0.

      • width: number = 400

        The maximum width of the tooltip in pixels. Default is 400.

      • timeout: number = 2000

        The duration in milliseconds to display the tooltip. Default is 2000.

      Returns boolean

      True if the tooltip was displayed successfully, otherwise false.

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

      TooltipSync('Hello, World!', 100, 200, 20, 3000);