[REBOL] Re: Can't double-click rebol scripts on iMac
From: petr:krenzelok:trz:cz at: 26-Aug-2002 15:38
Joel Neely wrote:
>Andrew Martin wrote:
>>There has to be an association in the operating system between
>>files with the extension ".r" and the Rebol interpreter.
>No. You're describing the Visual CP/M method, not the standard
>MacOS mechanism. With MacOS, the directory entry of each file
>has two attributes "creator" and "file type" which are normally
>set by the application that creates the file. The "creator"
>attribute tells which application to launch when the file is
>double-clicked (usually the creating application itself), and
>the "file type" allows an application to have multiple "flavors"
>of documents (e.g. end-user documents vs. read-only templates)
>that it treats differently.
>Doing this with a one-to-three-letter suffix on the file name
>itself is a very fragile substitute used by some big company
>in Redmond, based on legacy designs going back at least to the
>early 1970's. It's very easy for the user to change the suffix
>accidentally while renaming a file, and then the relationship
And I think Mac OS should look at AmigaOS tooltypes and datatypes, which
recognize file under internal structure etc. :-) No, really - just
kidding - so what would Rebol would have to do, to support MacOS properly?