
AutoitMike
-
Posts
194 -
Joined
-
Last visited
Community Answers
-
AutoitMike's post in Cant trap error in Custom function - (Moved) was marked as the answer
I really dont know what the type of error it is.
The script simply stops at the offending statement.
Is this your suggestion?
Local $oMyError = ObjEvent("AutoIt.Error", MyErrFunc) func MyErrFunc() msgbox(0,'','There was an error in the OCR_Region function') Exit endfunc