Jump to content
Sign in to follow this  
Arnautov

try-catch structure

Recommended Posts

Arnautov

hi.

Couldn't find any information about the try-catch structures using search engine on this forum, and coutldn't find any clues in .chm help file of autoitV3.

Is there any similar structures or metods for try-catch functionalities when working with COM-objects?

thnx.

Share this post


Link to post
Share on other sites
Paulchen

You can find information over "COM Error Handling" in the help.

Sample.

$oMyError = ObjEvent("AutoIt.Error","MyErrFunc") ; Install a custom error handler

Share this post


Link to post
Share on other sites
Arnautov

wow, thnx!

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×