Guest Shantha Posted June 25, 2004 Posted June 25, 2004 Is there are anyway that we can skip an "AutoIt Error" and continue the script? I don't understand much about the " @Error " macro, if we can do something with it.
midiaxe Posted June 25, 2004 Posted June 25, 2004 What kind of error are you getting and what function are you using? If you are using Run/RunWait, check the RunErrorsFatal option. The @Error macro usually contains the error return code of some of the AI functions. =MX=
Guest Shantha Posted June 25, 2004 Posted June 25, 2004 Actually I open a text file (read only) then transfer the data to a system. When there is a system (application) error, I write them in to the new text file. When an application error occurs, the script opens the file and write it and auto close it. When I explicitily give the FileClose. It gives me an error. So, I just skip the FileClose part. But sometimes I get this from "AutoIt Error": Line 83 (File.... FileOpen ($errlog, 1 Error: Unable to open file, the maximum number of open files has been exceeded. Any solutions?
Developers Jos Posted June 25, 2004 Developers Posted June 25, 2004 Make sure you do a FileClose(HANDLE) for those files that you have finished with reading/writing.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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