Sign in to follow this  
Followers 0
AlexTaitson

Error 'capture'

4 posts in this topic

Hi all, I'm in need of help again, this time for something I dont know if it can be done.

I'm creating a "Printer installer" program to install multiple printers at once (like 50 printers if needed be).

What I want to know is:

Is it possible for AutoIt to detect if an error occurs in WINDOWS? (not on the program I wrote, but Windows errors due to vbs commands or rundll32 commands that are executed by my program)

I want my program to detect errors and write about it in a Report file that will be created, but I can't find a way to make it detect the errors.

I don't have ANYTHING coded about this error detecting so far, as I have no clue.

I'll keep searching, but if anyone around can help me, please do =]

Thanks a lot in advance,

Alexandre Taitson Moreira

Share this post


Link to post
Share on other sites



Up..

Anyone? >.<

And I searched for forum rules in the Search engine to see if there is any minimum time for bumping a topic but I couldn't find a Rule topic.. Can someone please answer this as well? So I don't break rules not knowing that I did.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Intentionally create errors that might occur... and then examine the windows with the au3info (refer to 'Window Titles and Text (Advanced)' in help-file)... and finally add a detection part to you installer script (maybe via adlib), if any of the error windows do exist during your script run (use a 'WinExists()' check).

Edited by KaFu

Share this post


Link to post
Share on other sites

Intentionally create errors that might occur... and then examine the windows with the au3info (refer to 'Window Titles and Text (Advanced)' in help-file)... and finally add a detection part to you installer script (maybe via adlib), if any of the error windows do exist during your script run (use a 'WinExists()' check).

Thanks a lot for the tip, didn't know about this au3info.exe, as I was only coding so far and didn't need it yet.

Going go start playing around it now, it really seems fun.

I'll post again if I need some more help with it, as I'm not familiar yet.

Thanks,

Alexandre Taitson Moreira

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