I am trying to write a script to open a webpage in IE in a fairly small window. I want the IE window to be as uncluttered as possible with little/no room for the user to naviagate away from the page.
Whenever I use _IEPropertySet to set the toolbar to False, it places the URL before the document title of the page. I don't want the URL in the title, just the actual title. I am assuming this is an IE thing, but has anyone found a way to overcome this behavior? This script will interact with another web app, and that app only runs on IE8, so that is what I have been testing with.
#include <IE.au3> _IEErrorNotify(True) Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Noca $oIE = _IECreate ("about:blank",0,0) _IEPropertySet ($oIE, "addressbar", False) _IEPropertySet ($oIE, "menubar", False) _IEPropertySet ($oIE, "statusbar", False) _IEPropertySet ($oIE, "toolbar", False) ; Setting this to TRUE removes the URL from the title bar _IEPropertySet ($oIE, "height", 332) _IEPropertySet ($oIE, "width", 450) _IENavigate($oIE,"http://www.google.com",1) $oIE.visible = 1
I appreciate any ideas.