Sign in to follow this  
Followers 0
culeu

Help me with : ControlSend, ControlClick popup(Alert) IE

5 posts in this topic

I want management IE not active

When it have popup I not send enter key or click to IE not active.

Although I using with both ControlSend and ControlClick.

(Msg have only OK button and alway focus)

Class and Instance I get from Au3Info for popup.

Not exist popup: both ControlSend and ControlClick return 0 => Not exist popup

Exist popup both ControlSend and ControlClick return 1 => Exist popup, Although popup not close on IE

Source code

------------

ControlSend("[CLASS:#32770; Title:Message from IE]","","[CLASS:Button; INSTANCE:1;]","{ENTER}")

Or

ControlSend("[CLASS:#32770; Title:Message from IE]","","","{ENTER}")

Or

ControlClick("[CLASS:#32770; Title:Message from IE]", "", "[CLASS:Button; TEXT:OK; Instance:1;]")

----------

Pls. Help me!

Share this post


Link to post
Share on other sites



Moved to support forum


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Moved to support forum

Thanks!

Share this post


Link to post
Share on other sites

I try using source code :

--------

$hwnd = WinGetHandle("[ Title:Message from IE]")

_WinAPI_PostMessage($hWnd, 0x100, 0x0D , 0 )

--------

It can't close popup.

Pls, help me!

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