[REBOL] Re: Watson - what is so special about it?
From: joel:neely:fedex at: 26-Aug-2002 10:43
Hi, Petr and Sabin,
Petr Krenzelok wrote:
> Sabin Densmore wrote:
>
> >> ... but I believe that Sabin is referring to the fact that
> >> a Mac user normally doesn't start an application and then
> >> open a file within that application, but simply double-
> >> clicks on a document...
> >
> >
> > Yep. :)
> >
> > That is *exactly* what I'm talking about. And, since OS X
> > doesn't have a Rebol/View port yet, the only option I have
> > is to open terminal, run rebol and then call the script.
> > Or, call the script as an argument to the rebol command
> > from terminal -- either is clumsy for the average user.
> >
Those aren't the only options. See below.
> Its BIG weakness of MacOS in fact, which is known to be even
> more hybrid, than Windows (sorry Joel ;-)
>
Hybrid
?? BSD *nix running on top of a Mach kernel with a
GUI front end. Sounds like the kind of hybrid that creates a
robust new species to me... ;-)
> If you can't create any type of batch file, shortcut, whatever,
> telling it to launch View + appropriate script, then well ... :-)
>
But you can! (Remember, think Unix!)
Start your script file with
#!/usr/local/bin/rebol -sq
then chmod the file to +x and it will run directly from the command
line. (Of course, the above path should be modified to reflect the
actual location of REBOL on your particular box...)
-jn-
;; If the Windows are too small, open the door and walk outside!