Our logon scripts currently open up Internet Explorer going to our company's intranet site. Everything works but in the never ending quest to make things cooler I want to change the loading of IE from the "start http://www.webpage.com" to COM scripting.I'm having a problem with KiXtart's implementation of COM scripting. I wrote the same code in VBS and in KiXtart but I can't get the KiXtart code to work correctly. In both languages IE pops up and I wanted to turn off any Explorer Bars that might be open. Well no problem, I thought, IE has a COM parameter for that and everything works in VBS but not in KiXtart. You'll see from my scripts that I'm trying to get the Search Explorer Bar to show up.. but once I get that to work then I'll change the value to False.
I'd also like to make IE pop up maximized (not fullscreen mode) but there is no COM parameter for that so any suggestions would be nice.. maybe the .height, .width, .left, and .top parameters but they need to be adjustable for different screen resolutions.
Anyhow here is the KiXtart code:
$ie = createobject("internetexplorer.application")
$ie.navigate("http://www.kixtart.org")
while $ie.busy and not @error loop
$ie.visible = 1
$ie.ShowBrowserBar "{30D02401-6A81-11D0-8274-00C04FD5AE38}", true
$ie = Nothing
And here is the VBS:
set ie = createobject("internetexplorer.application")
ie.navigate("http://www.kixtart.org")
while ie.busy and not err.number
wend
ie.visible = 1
ie.ShowBrowserBar "{30D02401-6A81-11D0-8274-00C04FD5AE38}", true
set ie = Nothing
Any help would be nice.. thanks guys.
craig