Hi Jochen,

I previously had a similar idea regarding browse. I'm not quite sure (wanted
to first check into it, but I haven't had time yet, however since you raised
the issue ...) don't browsers support mime types, and can't exe mime types
be used to launch an executable via the browser? Isn't that how browsers
automate the process of unpacking executable archives (at least under MS
Windows)? So - at least under windows - you should be able to send the
browser the executable with an exe mime type, thereby instructing the
browser to execute the application. I'm not sure that'll work ...

Your second idea is cute ;-). That one didn't occur to me ...

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2000 10:57 PM
Subject: [REBOL] Solution: Launch Programs from REBOL/View Re:(2)


> My first Idea was to use the "browse" function:
>
> you can say:
> browse "http://www.rebol.com"
>
> and if your system is properly configured a web-browser will pop-up.
>
> Under UN*X REBOL/View is using netscape.
>
> So netscape will be startetd by following command triggered through
> REBOL:
> /usr/local/bin/netscape -remote "openURL(http://www.rebol.com,
new-window)"
>
> but if you use browse _this_ way:
>
> browse "myapp par1 par2 par3"
>
> it will try following:
> /usr/local/bin/netscape -remote "openURL(myapp par1 par2 par3,
new-window)"
>
> What we would have to do, is to replace netscape by a simple shell-script
> that cuts out the URL part of the command args and then launches the
> application therein.
>
>
> Some minutes ago I'd another Idea that enables us to run programs with all
> REBOL-releases. (I don't no why nobody else had the idea)
> In the REBOL-Library lies a cute little script namely "little-bell.r"
> This script implements a little telnet-client. By using this code we are
able
> to launch programs on all computers that have telnet access!!!
>
> Regards
>
> Jochen
>
>


Reply via email to