WorknMan Posted November 2, 2013 Posted November 2, 2013 Hey guys, I've done some searching but can't find a solution for this. I am having a problem with one of my scripts dying. Specifically, this: I did not write this UDF, and I have no idea how to fix it, or how to test for this condition. It dies with this error about once out of every 100 times I run it, so it's very hard to debug. And worse yet, I use this script to feed data to me remotely, so it's very annoying to have this happen when I'm not at home. What I'm wondering is if it's possible to 'catch' this error and have the script exit gracefully? Ideally I'd like to just have the script rerun itself, since it almost always finishes successfully on the second attempt. But at the very least, I'd like to have the script shut down gracefully.
JohnOne Posted November 2, 2013 Posted November 2, 2013 You should add an error handler to your script. Look under COM reference in help file. If your next post by chance is going to be "I have one", be sure to include your script along with it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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