[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] MacPerl files creatore code



At 08:55 -0600 98/07/29, w e b s l a v e wrote:
> Here's another idea for changing the creator code of files
> created with MacPerl...
>
> Make it a preference ;)

This could work, assuming that such a preference was also dependent on the
value of the current preference for whether to launch or edit when
double-clicking a macPerl file; if I want to launch, I hope the creator ID
is always McPL!!

It's a little unusual, though, for a Mac app to set some other app's
creator ID into the files it creates.

But... I guess I don't really understand; why do you need this?

If you double-click the file, and MacPerl comes up, just hit cmd-shift-E
and your desired editor opens (providing all sorts of nice interactions
between said editor and MacPerl in the bargain).  Or... why do your scripts
have McPL as their creator anyway? (mine are all R*ch 'cause I create them
with BBEdit in the first place).

Then there are various inits around, such as DefaultApp or the (pre-OS 8)
NowMenus, which allow you to set any app substitutions you want.  They're
useful for opening plain text files with something smarter than SimpleText.
(It would be nice if Apple allowed similar editing of the MacOPS EasyOpen
preferences).

Then there are programs like Filetyper that change the type/creator of any
file.  And you can create autotypers (I have a "make it text" autotyper for
stuff that comes over ftp...)

There's a nice little drag&drop app called ICFileConvertor that opens any
dropped file with the Internet Config specified app; option-drop changes
the type/creator at the same time :-)  (Now that would make for a nice
init... something that watched for when I double-click and would open the
file the way InternetConfig specifes...   Question: Could MacPerl check
InternetConfig when a file is opened and "hand it off" if required? Then I
could tell it to have BBEdit open my .pl files, Shuck open my .pod files,
and MacPerl open my .pd files - now that might be useful ;-)

I guess I'm missing an understanding of why it should be necessary or even
desirable to change MacPerl to create files with a different Creator ID.
There are so many more flexible ways to handle this; I guess I don't see
the need.

- Vicki
---
Vicki Brown, vlb@cfcl.com        |\      _,,,---,,_
Journeyman Sourceror      ZZZzz /,`.-'`'    -.  ;-;;,_
Scripts & Philtres             |,4-  ) )-,_. ,\ (  `'-'
http://www.cfcl.com/~vlb      '---''(_/--'  `-'\_)
P.O. Box 1269 San Bruno, CA  94066

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch