Jump to content

Recommended Posts

Posted

What is the best way to manage dynamic pop-ups after _IENavigate($oIE, "http://example.com") ?

$oIE = _IECreate()
$hIE = _IEPropertyGet($oIE, "hwnd") 
WinSetState($hIE, "", @SW_MAXIMIZE) 
    _IENavigate($oIE, "http://example.com")
    _IELoadWait ($oIE)

I would like to move/minimize any additional windows created after _IELoadWait ($oIE)

;)

Posted

Great.

Trying to figure how to minimize all HTML popup that's actually a new Internet Explorer window.

The script posted above will only wait for the original "$oIE = _IECreate()" function to finish load and ignores any new iexplore created.

How does Autoit get the newly created iexplore windows's "hwnd" in order to call WinSetState() to @SW_MINIMIZE it ?

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...