Jump to content
Sign in to follow this  
Tripoz

how to detect IE Popup dialog?

Recommended Posts

Tripoz

hello

i've some problem with IE pop up. (pict below)

how to detect IE popup like that?? 

im using this code but still not work:

#include <MsgBoxConstants.au3>
#include <IE.au3>
while 1

sleep(3000)
CekPopup()

WEnd

Func CekPopup()
   if _IEAttach("Windows Internet Explorer") = True Then
      local $awin= WinActivate("Windows Internet Explorer")
      sleep(2000)
      send("{ENTER}");;;yes button
   Else
   ConsoleWrite("Pop Up FREEEEEEE...!!! ")
   EndIf
EndFunc   ;==>Example

 

bbbbb.png

Share this post


Link to post
Share on other sites
JLogan3o13

Look at IUIAutomation in the Examples forum. There are some examples dealing with browser pop-ups.


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

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  

×