Tom Lavedas wrote:
> On Aug 21, 2:19 pm, Highlander <tron9...@xxxxxx> wrote:
> > Hello all.
> >
> > Running IE8 on an Windows XP Home machine. I'd like to be able to use
> > a command line to open several websites in multiple tabs in one IE
> > window.
> >
> > I'm using the script found here:http://jeremyrandall.org/technology/...in-internet-ex...
> >
> > What I'm wondering is if there's a purely VBScript solution to this,
> > without using JScript?
> >
> > Any help would be greatly appreciated. Thanks!
> >
> > - Dave >
> The VBS translation of the example you cite is almost trivial ...
>
> navOpenInBackgroundTab = &h1000
> set oIE = CreateObject("InternetExplorer.Application")
> oIE.Navigate2 "http://blogs.msdn.com"
> oIE.Navigate2 "http://blogs.msdn.com/tonyschr",
> navOpenInBackgroundTab
> oIE.Navigate2 "http://blogs.msdn.com/oldnewthing",
> navOpenInBackgroundTab
> oIE.Navigate2 "http://blogs.msdn.com/ericlippert",
> navOpenInBackgroundTab
> oIE.Visible = true
>
> I don't have IE7 or 8 here at work to test this, but I'm pretty sure
> the syntax is fine.
>
> Tom Lavedas
> *********** Hi
I have used both the JScript and VBS versions of this Technique and delightfully they work - thanks to all
concerned !!
I would like to use the technique in WebPages
I have tried it in two ways - JScript in "Client-Side" script
and
(my real preference) "Server-Side" in ASP (VBScript)
I guess that I dont want to open another Window and therefore do mot need the line
set oIE = CreateObject("InternetExplorer.Application")
I am temporarily defeated to work out how to "set oIE" to the current/existing instance of IE
So that abruptly stopped the ASP method development !!!
So back to a desultry attempt again in JScript !!
I tried replacing "oIE" with "Window" - obviously, it is not that simple.
Hopefully some of the clever folks in here can/will point me in the right direction please
Reminders that it will not work in "not IE" browsers are un-necessary - I plan to use it in an "IE Only"
environment.
Thanks in advance
Pete (Northolt UK)