Jump to content

Recommended Posts

Posted

Is there a general way that if any error occurs I can just have it skip back up to the top of a loop or something? Because in my script, I get some errors because I'm using IE.au3 to interact with webpages... And sometimes they hang while loading, or AutoIt hits an error while trying to interact with a form item that doesn't exist on that particular page and my script will just close.

Is there anything I can do to just say something like

"On AnyError, Goto line XX" or something similar?

Thank you!

Posted (edited)

you almost had it...

Opt("OnExitFunc","OnAutoItExit");"OnAutoItExit" called

... see help

See help... also because you are using IE.au3 there are object error handlers in the help files

8)

Edited by Valuater

NEWHeader1.png

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...