Jump to content

Recommended Posts

Posted

@error

Even though Tombs reply is correct, it is incomplete.

@error is the macro you can use to check if the previous function failed with its normal execution and set the @error flag. It does not however, what I think you want, indicate when AutoIt has errored out completely.

There's no way to tell in your script when it has crashed, because there is no way to guarantee the safe execution of whatever happens in that supposed "on error" function.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...