Sign in to follow this  
Followers 0
Brij

Closing winword MesageBox automatically

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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().

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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