• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting file type in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting file type in OS X (From: "Gregory Anderson" <email@hidden>)

  • Prev by Date: Re: Search Archives! Help Full
  • Next by Date: Re: Opening and closing the CD tray
  • Previous by thread: Setting file type in OS X
  • Next by thread: Re: Arcane date smarts (Was: Getting a folder based on creation
  • Index(es):
    • Date
    • Thread