Quinch Posted February 29, 2012 Share Posted February 29, 2012 Quick check - is it possible to avoid the error message window {in SciTe or a compiled eye} if the script hits a critical error? Better still, is it possible to have it execute a function, such as writing an error log etc.? Link to comment Share on other sites More sharing options...
Juvigy Posted February 29, 2012 Share Posted February 29, 2012 Yes , Check for "error handlers" in the help file. For example: $oMyError = ObjEvent("AutoIt.Error","MyErrFunc") This is ab object error handler registration. MyErrFunc is the name of the function that will be executed. 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