Jump to content
Sign in to follow this  

Anyway to attach an embedded ie?

Recommended Posts


The Title says it all, how can I attach an embedded IE?

Share this post

Link to post
Share on other sites

This shud work


$s_string String to search for (for "embedded" or "dialogbox", use Title sub-string or HWND of window)

$s_mode = Embedded = title sub-string or hwnd of of the window embedding the control

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
$oIE = _IECreateEmbedded ()
$gui = GUICreate("Embedded Web control Test", 640, 580, _
        (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 600, 360)
GUISetState()       ;Show GUI
_IENavigate ($oIE, "http://www.autoitscript.com")
$1 = _IEAttach($gui,"Embedded")
_IENavigate ($1, "http://www.google.com")
While 1

Edit: #include <IE.au3>$oIE = _IECreateEmbedded ()


#include <IE.au3>

$oIE = _IECreateEmbedded ()

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)

There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.


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