c4mpi Posted March 21, 2010 Share Posted March 21, 2010 The Title says it all, how can I attach an embedded IE? Link to comment Share on other sites More sharing options...
bogQ Posted March 21, 2010 Share Posted March 21, 2010 (edited) This shud work Parameters $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, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) $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 Sleep(10) WEnd Edit: #include <IE.au3>$oIE = _IECreateEmbedded () to #include <IE.au3> $oIE = _IECreateEmbedded () Edited March 21, 2010 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now