Jump to content
Sign in to follow this  
nickh21

How to suppress pop-up windows

Recommended Posts

nickh21

First off, thanks to everyone for helping in advance! :oops:

I have an automated process that runs in the background, and periodically I'll encounter pop-ups from it.

A few pop-ups I've noticed so far are:

Word: Save As (I want to click cancel)

Word: Open as read-only? (I want to click cancel)

Excel: Save As (I want to click cancel)

Excel: Open as read-only? (I want to click cancel)

Basically what I want to create, is an app that is constantly running in the background, searching for these windows. Once they are encountered, I'd like to click cancel... that's it

Any ideas?

Share this post


Link to post
Share on other sites
DaisyDuke

Use the autoit windows info to get the ID of the popup message box and the button to press then... look in the help file for WinActive and mouseclick. Goodluck

Share this post


Link to post
Share on other sites
nickh21

Thanks for the reply...

Is this something that I can make an .exe file, that will continuously run, and scan for open windows? Then suppress them by clicking cancel..?

I want it to be an active running background process to simply click cancel when the window pops up.

Share this post


Link to post
Share on other sites
nickh21

Anyone? :oops:

Share this post


Link to post
Share on other sites
DaisyDuke

you can achieve what you want, there are lots of examples to learn from, and yes script will run in background.

Spend more time reading through the help file, cos auto-it is an amazing tool!

Share this post


Link to post
Share on other sites
water

I have an automated process that runs in the background, and periodically I'll encounter pop-ups from it.

Is this a program you have written yourself?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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  

×