Jump to content
Sign in to follow this  
tsmercy

Recognize popup from particular web page

Recommended Posts

tsmercy

Hello, I am new to AutoIt, having just found out about it last week.  I have received a request to create a script that will automatically click on "OK" when a popup "Message from website" is detected.  This is working, using WinWait and ControlClick, but I was wondering, is there any way to tie a popup to the web page that generated it?  The script is clicking on OK for every web page that has that popup, not just the one application in question, and that is not exactly what the users want.  They want OK clicked ONLY if the popup is for that particular app.

 

Thank you.

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, tsmercy, welcome to the forum. How about showing us a screenshot of the webpage and it's associated pop up? It is a little difficult to say without seeing what you're seeing.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
tsmercy

  Timeout Popup.doc

 

I tried inserting a screenshot, I got the message that the upload failed.  The script clicks on OK and prevents the page from timing out, but it does that for every web page that has this alert, not ust this application.

Share this post


Link to post
Share on other sites
tsmercy

It looks like I was unable to attach the screen print.  I will keep trying.

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  

×