Jump to content

Recommended Posts

Guest Shantha
Posted

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.

Posted

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

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...