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

    Function AutoItSetOption

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

      Parameters

      • option: AutoItOption

        The option to change. See AutoItOption for details.

      • value: number

        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 { AutoItSetOption, AutoItOption } from '@ahmic/autoit-js';

      await AutoItSetOption(AutoItOption.AutoItWinTitleMatchMode, 2);