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

    Function Opt

    • Changes the operation of various AutoIt functions/parameters. This function can be used interchangeably with AutoItSetOption.

      Parameters

      • option: AutoItOption

        The option to change. See AutoItOption for details.

      • value: number = -1

        The value to assign to the option. It varies depending on the option being set.

      Returns Promise<number>

      A promise that resolves to the previous setting of the option.

      import { Opt, AutoItOption } from '@ahmic/autoit-js';

      await Opt(AutoItOption.MouseCoordMode, 1);