G
Guest
I have routinely scripted IE browser windows using the DOM. I often want to
manipulate an invisible instance IE to eather process in the background or to
manipulate it prior to showing it on the screen.
The following code, for example, creates an inisible IE instance, navigates
to a site and then is displayed:
set oIE = CreateObject("InternetExplorer.Application")
oIE.navigate "www.microsoft.com"
Wscript.Sleep 3000
oIE.visible = 1
With IE7 and with IE6 with the MSN Toolbar and its tabs this no longer works
like I want it to. A browser container window is always displayed
immediately after the CreateObject command.
I assume this is because the container can hold many IE instances as tabs.
If this is true, I need to find find object model documentation updates that
tell me how to create a browser instance without tabs so that the visible
attribute will work as I expect it to. I have searched and searched and have
not found this... anyone know if it is available?
My assumption of the cause may be incorrect -- if so, does anyone know how
to work around this another way?
Thanks,
Dale
manipulate an invisible instance IE to eather process in the background or to
manipulate it prior to showing it on the screen.
The following code, for example, creates an inisible IE instance, navigates
to a site and then is displayed:
set oIE = CreateObject("InternetExplorer.Application")
oIE.navigate "www.microsoft.com"
Wscript.Sleep 3000
oIE.visible = 1
With IE7 and with IE6 with the MSN Toolbar and its tabs this no longer works
like I want it to. A browser container window is always displayed
immediately after the CreateObject command.
I assume this is because the container can hold many IE instances as tabs.
If this is true, I need to find find object model documentation updates that
tell me how to create a browser instance without tabs so that the visible
attribute will work as I expect it to. I have searched and searched and have
not found this... anyone know if it is available?
My assumption of the cause may be incorrect -- if so, does anyone know how
to work around this another way?
Thanks,
Dale