Jump to content

Recommended Posts

Posted

Hi All

I am new to AutoIt. I have a VB application which automates Winword and generates some documents. It runs everytime and throughout the day documents are being created. Sometime, if there is any exception in winword due to any reason Messagebox is popped up and until somebody manually clicks it. Further processing is stopped which hampers production.

Is there anyways using AutoIT, I can force close messagebox anytime it pops either it is informational or exception.

Help in this regards will be highly appreciated.

Regards

Brij

Posted
Posted

Use the Au3info.exe in the installer dir to gather infos about the messageboxes titles. Monitor for existince in a loop with winexist() and then trigger a winclose().

I tried gathering information about the Word message box, only thing I know is Title of message box is "Microsoft Word", but I am not able to get hold of that message box, to trigger winclose.

Any ideas

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...