Article View: news.software.readers
Article #80442Re: slrn (win32) and Mozilla: how to open URL in new window?
From: Matthijs Laan
Date: Sat, 16 Jun 2001 17:37
Date: Sat, 16 Jun 2001 17:37
36 lines
1967 bytes
1967 bytes
According to David Gerard,
>
> I want to use Mozilla 0.9.1 with slrn. "start mozilla %1" works just
> fine, except it re-uses whichever Mozilla window is foremost. What I
> want it to do is to open the URL in a new Mozilla window.
>
> Has anyone worked out the command-line (or even a batch file) to get
> Mozilla to do this? There isn't a Mozilla command-line option like
> "-new".
>
> I tried a batch file that went something like:
>
> start mozilla
> start mozilla %1
>
> but that created a new window, then used the old one anyway.
I think Mozilla reuses the last window that had focus.
Do you'd something like
- open new window
- get it to foucs
- start mozilla with URL
You could use VBScript, probably.
FindWindow("Mozilla")
SendKeys("^N")
Shell("mozilla " & COMMAND$)
This isn't real VBScript code, because I'm a Delphi programmer, but these
should be the commands...
Matthijs
Technical Details
Message-ID:
<Xns90C2A256C83Fmatthijs@127.0.0.1>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<200106162153@xenu.thingy.apana.org.au>Show Full Headers
Complete Article Headers
Message-ID: <Xns90C2A256C83Fmatthijs@127.0.0.1>
Subject: Re: slrn (win32) and Mozilla: how to open URL in new window?
Date: Sat, 16 Jun 2001 17:37:33 +0000
From: matthijsln@nospam-remove.xs4all.nl (Matthijs Laan)
References: <200106162153@xenu.thingy.apana.org.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail
X-Posting-Agent: Hamster/1.3.22.0
Newsgroups: news.software.readers
User-Agent: Xnews/4.05.11
X-Face: c"kR4jyeH#ybTcZgH{W"[->t(g]##rZFXYNH\&5:^\Ur73N{MZU$!$_.w409gu,}mUQWI(z!X['Pf4Qs*GI9w[?Q./mZ{h<wC"u~Ei\O*eEPQVC5S4R@jyXc]d:&!C^RRemg)SS@w-?[fXmna^-w@:D*zn`aSwY
Lines: 35
NNTP-Posting-Host: 194.109.174.168
X-Trace: 992713053 newszilla.xs4all.nl 38658 194.109.174.168