Jump to content

Recommended Posts

Posted

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!

  • Moderators
Posted

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.

Posted

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!

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
×
×
  • Create New...