Error Handling with Macros

Unexpected conditions that occur at run-time can be handled through Newlook's error handling actions. Newlook's macro language provides the following actions that allow run-time errors to be trapped and processed within your macro:

The Err object is an object with global scope that contains information about the current run-time error.

When a run-time error occurs, this object is populated with details about the error. It's properties can be inspected and used to appropriately handle the error and provide a more user-friendly message to users when errors of a particular type occur.

Refer to the Err object and OnError action topics for further information and examples.

See Also

Debugging Macros | Using Inspector | Writing and Debugging Macros | Runtime Errors