On Thu, 28 Mar 2002 08:47:27 -0600 Michael Kaply <[EMAIL PROTECTED]> wrote: > Mikus Grinbergs wrote: > > How can I specify to Mozilla to pass the __URL__ > > to my .cmd (and *skip* the "download to temp" step) ? > > > > mikus > > You can't really do that. That's not a helper application. That's more > of a protocol. > > You could create a new protocol, ogg: so that when ogg:URL was typed in > the URL bar, it invoked some EXE or CMD with the URL.
Hehehe. Fun and games. I believe there are browsers in which one can invoke another (external) program to perform ftp:URL (for instance). From what you say, I take it that the reason this works is because ftp:URL is a protocol ? > > The way Realplayer does this is through the use of separate files which > contain the URL vs. the data (RM vs RAM) The BBC, for instance, *does* do this with their .ogg files. I *was* able to specify a .cmd as a 'helper application' to which the BBC file containing the URL was passed by Mozilla/2. This .cmd extracted the URL and passed it to my ogg player. Meaning that when the website does provide a separate file which gives the stream's URL, my setup *can* access data as a stream. > > There is no way to do it programmatically with helper applications. I seem to remember visiting some webpage and having music start playing from my speakers (*without* my noticing a file download). Was the music 'data' downloaded at the same time the page content was, and I just failed to observe that a download occurred ? Or is the music being played by a plugin (i.e., not a helper) -- perhaps *plugins* might be able to "skip" the separate download step, and instead be able to process the 'data' as it is being fetched by the browser ? Mike, thank you for your answer to my original question. (I'll behave regarding pushing the limits of helper applications.) mikus
