Jvanleuvan Posted April 24, 2009 Share Posted April 24, 2009 (edited) I have an autoit Script that interfaces with Skype. It runs several times a day and works fine, How-ever every once in a while it fails with an error "$Skype1.Attach()... The Requested Action With this object has failed" It failing is not a big deal, but the application just sits there with a message box open. (no-one is interactivly using this computer to click "ok") I wanted to know if there is a way to supress critical errors and just have auto-it exit. ( so it can try again later) Thanks Jonathan Edited April 24, 2009 by Jvanleuvan Link to comment Share on other sites More sharing options...
Valuater Posted April 24, 2009 Share Posted April 24, 2009 (edited) $oMyError = ObjEvent("AutoIt.Error","MyErrFunc") Func MyErrFunc() ; do something ; or ... ; do nothing EndFunc 8) BTW... Welcome to the Autoit Forums!!! Edited April 24, 2009 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