Xealos Posted September 26, 2006 Share Posted September 26, 2006 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! Link to comment Share on other sites More sharing options...
Valuater Posted September 26, 2006 Share Posted September 26, 2006 (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 September 26, 2006 by Valuater 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