TeraWatt Posted September 21, 2017 Share Posted September 21, 2017 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? Link to comment Share on other sites More sharing options...
KickStarter15 Posted September 22, 2017 Share Posted September 22, 2017 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. Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare. Link to comment Share on other sites More sharing options...
JohnOne Posted September 22, 2017 Share Posted September 22, 2017 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. Link to comment Share on other sites More sharing options...
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