[REBOL] Re: services.r
From: larry:ecotope at: 2-May-2001 22:22
"Graham Chiu" <[gchiu--compkarori--co--nz]> wrote:
> Just add a menu item that brings up the editor to edit one
> of my remote files
Hi Graham
A service has to be either a word or a url/file. Make a script called edit.r
with these lines
REBOL []
editor http://www.rebol.com ;change file/url as necessary
and put in the view-root directory.
Add this line to services.r
service "Edit" %edit.r
This will invoke the editor on the file or url specified. The line
editor 'same
invokes the editor with a blank document.
-Larry