JohnOne Posted October 28, 2011 Posted October 28, 2011 What was your final code? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
chachew Posted October 28, 2011 Author Posted October 28, 2011 (edited) #AutoIt3Wrapper_UseX64=n Global $oErrorHandler = ObjEvent("AutoIt.Error","ObjErrorHandler") $oOBJ=ObjCreate("ScanX.CSSNLib") $oOBJ.InitSlibLibrary("blah blah") $oOBJ.ScanToFile(@DesktopDir & "\test.jpg") Func ObjErrorHandler() ConsoleWrite("A COM Error has occured!" & @CRLF & @CRLF & _ "err.description is: " & @TAB & $oErrorHandler.description & @CRLF & _ "err.windescription:" & @TAB & $oErrorHandler & @CRLF & _ "err.number is: " & @TAB & Hex($oErrorHandler.number, 8) & @CRLF & _ "err.lastdllerror is: " & @TAB & $oErrorHandler.lastdllerror & @CRLF & _ "err.scriptline is: " & @TAB & $oErrorHandler.scriptline & @CRLF & _ "err.source is: " & @TAB & $oErrorHandler.source & @CRLF & _ "err.helpfile is: " & @TAB & $oErrorHandler.helpfile & @CRLF & _ "err.helpcontext is: " & @TAB & $oErrorHandler.helpcontext & @CRLF _ ) EndFunc Thanks for your help JohnOne! Edited October 28, 2011 by chachew
JohnOne Posted October 28, 2011 Posted October 28, 2011 Well I was just along for the ride. Glad you got there. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
chachew Posted October 28, 2011 Author Posted October 28, 2011 On 10/28/2011 at 3:16 PM, JohnOne said: Well I was just along for the ride. Glad you got there. Me too, it was frustrating me and i was determined to get this figured out.
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