giggity Posted September 8, 2006 Share Posted September 8, 2006 Is there a way to suppress autoit errors while a script runs? I would like my scripts to quietly exit if an error of any kind is encountered without a error window popping up. I know it's not wise to do this for debugging purposes but it would be nice to have this feature regardless. Link to comment Share on other sites More sharing options...
Don N Posted September 8, 2006 Share Posted September 8, 2006 What kind of errors are you trying to suppress? Why not jsut write error checking into your code? _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper Link to comment Share on other sites More sharing options...
GaryFrost Posted September 8, 2006 Share Posted September 8, 2006 Is there a way to suppress autoit errors while a script runs? I would like my scripts to quietly exit if an error of any kind is encountered without a error window popping up. I know it's not wise to do this for debugging purposes but it would be nice to have this feature regardless.could use RunErrorsFatal option, if you use that then you'll need to check @error where the error(s) could accure and exit if need be. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
giggity Posted September 8, 2006 Author Share Posted September 8, 2006 could use RunErrorsFatal option, if you use that then you'll need to check @error where the error(s) could accure and exit if need be.Thank you, thats exactly what I was looking for. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 8, 2006 Share Posted September 8, 2006 I've found that when you compile the script, error messages just don't show. It solved my problem. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Developers Jos Posted September 8, 2006 Developers Share Posted September 8, 2006 I've found that when you compile the script, error messages just don't show. It solved my problem.You need to explain this one!But one thing is for sure: Error do not disappear when the script is compiled. They might not show directly but they will turn up sometime so you better fix them.Also its better to use au3check always before compiling..... 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. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 8, 2006 Share Posted September 8, 2006 (edited) Well, I can't recall what exactly happened. It had something to do with the TCP functions timing out. Uncompiled it returned a error and the script would exit. Compiled the script would just keep going, exactly as I wanted it to continue without any weird behavior of any kind.Edit: Is Jos your real name? Edited September 8, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Developers Jos Posted September 8, 2006 Developers Share Posted September 8, 2006 Edit: Is Jos your real name?yep... 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. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 8, 2006 Share Posted September 8, 2006 That makes two of us. My real name is Jos too. github.com/jvanegmond 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