Re: Mac OS X 10.1 File Name Extension Guidelines
Re: Mac OS X 10.1 File Name Extension Guidelines
- Subject: Re: Mac OS X 10.1 File Name Extension Guidelines
- From: Richard Schreyer <email@hidden>
- Date: Fri, 7 Sep 2001 14:25:03 -0700
For example, if a user tries to save a TextEdit document as
"MyFile.jpg",
the alert reads, "You cannot save this document with the extension
'.jpg' at
the end of the name. The required extension is '.rtf'. You can choose
to use
both, so that your file name ends in '.jpg.rtf'." The buttons are Use
.rtf,
Cancel, and Use both. ".rtf" is the correct extension for this document
as
set by TextEdit, and Use .rtf is the default button. In no case will the
system hide an extension if doing so would make the file appear to
have a
different, valid extension. Therefore, if the user choosed "Use both",
the
Finder will display the full saved filename, "MyFile.jpg.rtf".
And what if I want to save a SomeRandomScript.pl file from TextEdit? I
don't see any provision for this.
In general, this is my issue with filename extensions. To really make
them work in all situations, it requires so many rules and exceptions
that often you really can't guess what is going to happen...
Extensions should remain for compatibility purposes, and with a code (or
some equivalent), so I can name my file script.pl, and TextEdit, BBEdit,
and anything else knows it can open it.
Richard Schreyer