Lukas Posted August 10, 2011 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
bogQ Posted August 10, 2011 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.
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