Jump to content
Sign in to follow this  

trying to launch IE with no address bar and no menubar

Recommended Posts

I'm trying to launch Internet Explorer with no menu bar or address bar.

I can do it using the following vbs script.


Dim objIE
Set objIE = WScript.CreateObject ("InternetExplorer.Application")
ObjIE.Toolbar = false
objIE.Navigate "www.google.com"
objIE.Visible = true


In autoit I'm trying to use scriptcontrol


$ScriptControl = ObjCreate("MSScriptControl.ScriptControl")
$ScriptControl.language = "VBScript"
$VBSCode = _
'Dim objIE' & @CRLF & _
'Set objIE = WScript.CreateObject ("InternetExplorer.Application")' & @CRLF & _
'ObjIE.Toolbar = false' & @CRLF & _
'objIE.Navigate "www.google.com"' & @CRLF & _
'objIE.Visible = true'



It runs with no error but IE does not launch IE - any help would be appreciated.


Share this post

Link to post
Share on other sites


This seems to work:

$objIE = ObjCreate ("InternetExplorer.Application")
$objIE.Toolbar = 0
$objIE.Navigate ("www.google.com")
$objIE.Visible =

That worked. thanx - i'll plug it into my larger code.

thanks a ton.

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  

  • Create New...