TeraWatt

"Passing" an error raised

3 posts in this topic

In Python, when an error occurs you can pass it through the use of exception handling, I.e.: anticipate the error then counter it before it messes up the program. I have researched and found no way of doing this in AutoIt. Is there a way to essentially bypass an error that would occur? I.e.: catch an error and pass it without effecting program execution?

Share this post


Link to post
Share on other sites



Hi @TeraWatt,

 

5 hours ago, TeraWatt said:

anticipate the error then counter it before it messes up the program.

That depends on the error.... But hopefully, it's not involving this below Forum Rule.

  • Bypassing of security measures - log-in and security dialogs, CAPTCHAs, anti-bot agents, software activation, etc.

Share this post


Link to post
Share on other sites

No, not in the same fashion.

Com error handling is similar but not all errors are Com (object) related.

In AU3 you anticipate and deal with potential errors.

Also, look into @error macro, for help in such matters.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

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