[REBOL] Re: rebol protocol
From: chalz:earthlink at: 12-Dec-2002 18:27
I like this! I have a couple questions regarding it, though.
Like, does this mean if we did something like:
reb://www.somesite.com/rebsite/index.r
it will load their Rebsite index in View?
Also, I'm relatively unskilled in regedit.
> [HKEY_CLASSES_ROOT\reb]
> @="\"URL:Reb Protocol\""
> "URL Protocol"=""
I know how to get to that point and could add the 'reb' group and all.
What's the ['--'] symbol all about?
Also, I've got HKEY_CLASSES_ROOT\REBOL.Script which I used the File Types
dialog to add, and I double-click for /Core, or I can right-click and select
/View, Edit or Edit in NoteTab (my current fave non-Notepad editor). Does this
mean basically the same thing? Should I just add a few keys to my
\REBOL.Script group, or would that mean I'd have to enter "rebol.script:..." to
execute?
> [HKEY_CLASSES_ROOT\reb\shell\open\command]
> @="c:\\rebol\\view\\rebol.exe test.r %1"
What's the test.r for? hmm.. I don't have \open but I have \Core, which
I've set as Default for execution, which is "E:\...\rebol.exe -q "%1""
(obviously not the path ...; just shorter).
> then whenever you run reb:c:\some.r from your address bar this would, if
> your rebol.exe was located at c:\rebol\view as mine is, load test.r into
> rebol.exe and pass it the commandline argument ["reb:c:\some.r"]
Not reb:// ...?
> I'm wondering what kind of cool things test.r could be made to do.
I'm wondering why it's included at all? I don't understand it.
Thanks!
--Charles