On Mon, 2 Sep 2002 07:01:41 UTC, [EMAIL PROTECTED] (Mikus Grinbergs)
wrote:
> On 2 Sep 2002 03:36:14 GMT [EMAIL PROTECTED] (David Forrester) wrote:
> >
> > Does anyone know what parameters or options are available when
> > defining an external protocol?
>
>
> I don't know, but here FYI are some of the scripts I use :
I'm always interested in other peoples code. Especially, if I can
reuse it.
>
> What I'm doing is RMB on an URL given by a webpage, then
> selecting 'copy' in the menu. Then I "empty" the Mozilla
> navigation field, and do 'paste'. I go to the beginning
> of the navigation field and insert 'see:', then <enter>.
> This shows me 'wget' information about the URL. [Focus
> unfortunately gets taken away from wget, and I have to
> retrieve that focus manually.]
Good trick.
>
> In my prefs.js :
>
> user_pref("applications.see", "c:\\utl\\cmd\\3wget.cmd");
> user_pref("applications.see.parameters", "%url%");
>
> In my 3wget.cmd (I know I'm mixing REXX parameters and OS/2
> parameters, but it works) :
>
> /* */
> '@echo off'
> 'SETLOCAL'
> 'set HOME=e:\ibm\mikus'
> 'start /K /WIN c:\utl\bin\wget.exe -S --spider --cookies=off %1 %2 %3 %4 %5 %6
>2>CON'
> 'ENDLOCAL'
The %1 gave me the hint, and I realised I had a copy of "Rexx Tips &
Tricks". The tip there was to set an environment variable, and then
retrieve that. So, that's working now.
>
>
> ----
>
> Somebody else posted a method to pass URLs in REXX.
> Here is my 'stream.cmd', which inspects .m3u files :
>
> It gets called by Mozilla (as a helper application,
> nowadays invoked via "mailcap" but previously through
> an actual "helper application" entry), after __Mozilla__
> has downloaded the small file. (Mozilla passes the
> filename of the downloaded thingy to my script.)
>
I realised earlier that I'll also have to do something like this to
parse the ASX file and find the actual media file URL.
>
>
> p.s. Did you say that warpvision will play those .wma files ?
>
Some of them. See my reply to Hartmut, but, enough of them are
working, that I have hopes.
--
David Forrester
davidfor at internode dot on dot net
http://www.os2world.com/djfos2