• 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: Write a prefs file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Write a prefs file


  • Subject: Re: Write a prefs file
  • From: Philip Aker <email@hidden>
  • Date: Wed, 29 May 2002 20:38:05 -0700

On Wednesday, May 29, 2002, at 07:07 PM, Ric Phillips wrote:

Mmmm, the source?
....and I quote:

"Before Mac OS X and Carbon, application resources were put in the resource
fork of the application executable. That policy has now changed. In Mac OS X
and for Carbon applications generally, resources should be put in the data
fork of a separate resource file, not the resource fork of the executable."

Page 170, "Inside Mac OS X - System Overview",
) 2000-2001 Apple Computer, Inc. (All rights reserved)


Yes, but since the question has come up and been answered numerous times on the Carbon list, it's good to realize that applications having or using resource forks is completely supported and their usage is not likely to disappear any time soon. After all, AppleScript applications have them. ;-)

The bonus of the Resource Manager is that it's actually an excellent small sized (limit 2727 resources) database management system with a proven history of success.


Regards,


Although resource forks are a part of the HFS+ architecture, I thought the
recommendation was that resource forks are out, and should not be used any
more.

Consider the source.

HFS+ supports data forks just fine, even on Mac OS X. The only valid reason
for not using resource forks is if you plan on placing the file on a
non-HFS+ volume, such a UFS or NTFS...... Apple itself continues to use
resource forks in LOTS of Mac OS X software. What's good enough for
Apple


Philip Aker
http://www.aker.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Write a prefs file (From: Ric Phillips <email@hidden>)

  • Prev by Date: Re: Scripting Additions
  • Next by Date: Re: Write a prefs file
  • Previous by thread: Re: Write a prefs file
  • Next by thread: Re: Write a prefs file
  • Index(es):
    • Date
    • Thread