Re: Setting file type in OS X
Re: Setting file type in OS X
- Subject: Re: Setting file type in OS X
- From: Chris Nebel <email@hidden>
- Date: Thu, 01 Nov 2001 13:02:03 -0500
- Organization: Apple Computer, Inc.
Gregory Anderson wrote:
>
I've got an old script written for OS 9 that sets the file type of a
>
file I write out to 'ttro'. When I run the script in OS X, it complains
>
that it can't set <<class fitp>> of the file to 'ttro'. Looking at it in
>
the Script Editor, it looks like the Finder's definition of the file type
>
property has changed.
>
Anyone know if this was a conscious decision in X, or an AppleScript
>
bug?
Depending on how you look at it, it was a conscious decision either in Mac
OS X or Mac OS 8-ish (I forget exactly when). "fitp" is the old code for
"file type"; it's been obsolete for years, but the classic Finder has
continued to support it. Finder 10.x dropped that support, so your script
broke.
--Chris Nebel
AppleScript Engineering