Sign in to follow this  
Followers 0
joeloyzaga

dialog box continuous popup monitoring

7 posts in this topic

I have a dialog box (#32770) that pops up at random times and I'm wondering if there is a way to have a script running and monitoring for any dialog box and clicking on the left button and continue monitoring until its stopped (don't know how either)

 

Thanks

Joe

Share this post


Link to post
Share on other sites



joeloyzaga,

Look at WinExists - that should give you an idea of how you might do it. :)

What kind of dialog are we talking about? Is there no way to prevent it even appearing? :huh:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

You could have a look at the _OL_Warnings.au3 that comes with my OutlooKEX UDF. If clicks away the Outlook security warnings until the calling script ends.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - 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

This script that I wrote some time ago may be what you are looking for.

[post='']PopupClear


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Share this post


Link to post
Share on other sites

will try this out - but it seems the autoit v3 window info hangs whenever I try to find the controls for it - see attached

post-47107-0-06969200-1372735317_thumb.p

Share this post


Link to post
Share on other sites

ok the dialog box : Title: AUiT Avecto Prompt

                              Class: #32770

the button to press

Class: Button

Instance: 1

ClassnameNN: Button1

Advanced Mode: [CLASS:Button;INSTANCE:1]

ID: 1019

Text : Continue

 

using the above how would I set up the INI file?

Share this post


Link to post
Share on other sites

Check the ControlClick function in the help file. All possible ways to specify the ControlId are explained there.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - 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  
Followers 0