nickh21 Posted March 7, 2012 Posted March 7, 2012 First off, thanks to everyone for helping in advance! 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?
DaisyDuke Posted March 7, 2012 Posted March 7, 2012 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
nickh21 Posted March 7, 2012 Author Posted March 7, 2012 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.
DaisyDuke Posted March 8, 2012 Posted March 8, 2012 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!
water Posted March 8, 2012 Posted March 8, 2012 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now