Jump to content

Recommended Posts

Posted

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.?

Posted

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.

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...