cypher175 Posted January 28, 2009 Posted January 28, 2009 Is there a code for On Fail do Such & Such or on Success Do Such & Such..??
jvanegmond Posted January 28, 2009 Posted January 28, 2009 @errorEven 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. github.com/jvanegmond
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now