qaravi Posted September 27, 2007 Share Posted September 27, 2007 hi folks,i'm getting the following error in Auto It frequently even full syntax is correct.why this is happening.the error as follows:->14:47:05 AutoIT3.exe ended.rc:1+>14:47:06 AutoIt3Wrapper Finished>Exit code: 1 Time: 10.699full description of error is as follows:C:\Documents and Settings\vmanjunath\Desktop\scrap files\Demo _instant_Data.au3 (81) : ==> Variable must be of type "Object".: For $abc In $oTable For $abc In $oTable^ ERROR->14:47:05 AutoIT3.exe ended.rc:1+>14:47:06 AutoIt3Wrapper Finished>Exit code: 1 Time: 10.699thanks in advance,ravi Link to comment Share on other sites More sharing options...
BrettF Posted September 27, 2007 Share Posted September 27, 2007 hi folks, i'm getting the following error in Auto It frequently even full syntax is correct. why this is happening. the error as follows: ->14:47:05 AutoIT3.exe ended.rc:1 +>14:47:06 AutoIt3Wrapper Finished >Exit code: 1 Time: 10.699 full description of error is as follows: C:\Documents and Settings\vmanjunath\Desktop\scrap files\Demo _instant_Data.au3 (81) : ==> Variable must be of type "Object".: For $abc In $oTable For $abc In $oTable^ ERROR ->14:47:05 AutoIT3.exe ended.rc:1 +>14:47:06 AutoIt3Wrapper Finished >Exit code: 1 Time: 10.699 thanks in advance, raviThe full code helps... Try adding this, then pasting the results (the script will automatically copy the results ) ;put this at the top of the code $oMyError = ObjEvent("AutoIt.Error","MyErrFunc") ;put this anywhere in the code, down the bottom is fine :) Func MyErrFunc() $HexNumber=hex($oMyError.number,8) Msgbox(0,"COM Error Test","We intercepted a COM Error !" & @CRLF & @CRLF & _ "err.description is: " & @TAB & $oMyError.description & @CRLF & _ "err.windescription:" & @TAB & $oMyError.windescription & @CRLF & _ "err.number is: " & @TAB & $HexNumber & @CRLF & _ "err.lastdllerror is: " & @TAB & $oMyError.lastdllerror & @CRLF & _ "err.scriptline is: " & @TAB & $oMyError.scriptline & @CRLF & _ "err.source is: " & @TAB & $oMyError.source & @CRLF & _ "err.helpfile is: " & @TAB & $oMyError.helpfile & @CRLF & _ "err.helpcontext is: " & @TAB & $oMyError.helpcontext _ ) ClipPut ("We intercepted a COM Error !" & @CRLF & @CRLF & _ "err.description is: " & @TAB & $oMyError.description & @CRLF & _ "err.windescription:" & @TAB & $oMyError.windescription & @CRLF & _ "err.number is: " & @TAB & $HexNumber & @CRLF & _ "err.lastdllerror is: " & @TAB & $oMyError.lastdllerror & @CRLF & _ "err.scriptline is: " & @TAB & $oMyError.scriptline & @CRLF & _ "err.source is: " & @TAB & $oMyError.source & @CRLF & _ "err.helpfile is: " & @TAB & $oMyError.helpfile & @CRLF & _ "err.helpcontext is: " & @TAB & $oMyError.helpcontext _ ) SetError(1); to check for after this function returns Endfunc Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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