On Mon, 28 Feb 2005 11:08:30 +0100, Hussein Shafie <hussein at pixware.fr> 
wrote:
> ---
> <command name="run"
>    parameter='start "" http://www.xmlmind.com/xmleditor/' />
> ---
> 
> On the Mac, use the "open" facility (may be with "start" instead of
> "run" -- I've not tested it.)
> On Linux, use "mozilla -remote openURL(...)" (may be with "start"
> instead of "run" -- I've not tested it.)

This is what I use for opening the results of an HTML preview
conversion.  The file is in the process temp directory, not a URL, but
it should be similar:

      <shell command="open preview.html" platform="Mac"/>

      <shell command="start &quot;&quot; preview.html" platform="Windows"/>

      <!-- the call to mozilla needs work (this might be the advantage
           of the Preview java class) -->

      <shell command="mozilla -remote
&quot;openFile(file://`pwd`/preview.html)&quot; &gt;/dev/null
2&gt;&amp;1"
             platform="GenericUnix"/>

I've tested all 3 of these.

  Bill

Reply via email to