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

    Function errorSync

    • Retrieves the error code set by the last AutoIt function call.

      Returns number

      The error code.

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

      const result = errorSync();

      console.log(result); // Output: 1 (example output, actual value depends on the last AutoIt function call)