Lukas 0 Posted August 10, 2011 Hi, I would like to know an example of how to get the title of a page from _IENavigate: #include <GUIConstants.au3> #include <IE.au3> $GUI = GUICreate("", 800, 420) $object = ObjCreate("Shell.Explorer.2") $object_ctrl = GUICtrlCreateObj($object, 16, 10, 780, 400) $oIE=_IENavigate($object, "http://www.autoitscript.com/site/") GUISetState() WinSetTitle($GUI,"",$oIE);I need to take the title of the web page, to set the current window. While 1 WEnd Share this post Link to post Share on other sites
bogQ 91 Posted August 10, 2011 (edited) you can use something like this for part of title (document title) #include <IE.au3> $oIE = _IECreate ("www.autoitscript.com") MsgBox(0, "", _IEPropertyGet ($oIE, "title")) to get full win title probably after it you can try to use some Win* commands and put _IEPropertyGet as particial title (include opt() to define title TextMatchMode if needed) Edited August 10, 2011 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. Share this post Link to post Share on other sites
Lukas 0 Posted August 11, 2011 Thank you for helping me! works perfectly Share this post Link to post Share on other sites