Sign in to follow this  
Followers 0
Guest Greg Thomas

@error from AutoIt3X

3 posts in this topic

How can I get the error code (if at all) when using the ActiveX control? As far as I can see, although I can set the RunErrorsFatal option, there's no way of catching the error.

With RunErrorsFatal=1, I would expect something like a VB error to be raised (or whatever the language neutral equivalent is).

With RunErrorsFatal=0, I would look at the error flag, but I can't see a way of getting it! Any ideas?

Thanks,

Greg

Share this post


Link to post
Share on other sites



How can I get the error code (if at all) when using the ActiveX control? As far as I can see, although I can set the RunErrorsFatal option, there's no way of catching the error.

With RunErrorsFatal=1, I would expect something like a VB error to be raised (or whatever the language neutral equivalent is).

With RunErrorsFatal=0, I would look at the error flag, but I can't see a way of getting it! Any ideas?

Thanks,

Greg

Wouldn't the errors be the same as autoit3 itself? I'm just learning vbscript so I could quite possibly be wrong

Rick


Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Share this post


Link to post
Share on other sites

How can I get the error code (if at all) when using the ActiveX control? As far as I can see, although I can set the RunErrorsFatal option, there's no way of catching the error.

With RunErrorsFatal=1, I would expect something like a VB error to be raised (or whatever the language neutral equivalent is).

With RunErrorsFatal=0, I would look at the error flag, but I can't see a way of getting it! Any ideas?

Thanks,

Greg

There is no "fatal" error in AutoItX because it just returns control back to the calling VBScript with a return value.

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  
Followers 0