• 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
FSSpec, FileURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FSSpec, FileURL


  • Subject: FSSpec, FileURL
  • From: Walter Ian Kaye <email@hidden>
  • Date: Mon, 29 Dec 2003 01:27:43 -0800

Technical Note TN2022
The Death of typeFSSpec: moving along to typeFileURL

The FSSpec data type is not suitable for encoding information about files in Mac OS X. Most importantly, FSSpecs cannot encode long or Unicode file names such as those used in the Mac OS X file system. In addition, Directory ID numbers and volume reference numbers are application specific in Mac OS X.

For the most part, Alias records encoded in Apple events provide suitable remedy for the shortcomings of FSSpec records, except for one case - references to files that have yet to be created. In these cases, the proposed typeFileURL is the best way to provide a such a pre-determined file reference.

So... does AS handle this transparently, or should we coerce paths to
<<class furl>> instead of to <<class fss >> (file specification), or
should we do like JD and coerce to POSIX?

thanks,
-boo
[1] http://developer2.apple.com/technotes/tn/tn2022.html
_______________________________________________
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.

  • Follow-Ups:
    • Re: FSSpec, FileURL
      • From: Paul Berkowitz <email@hidden>
References: 
 >[OT] Verification required? (From: Christian Jon Anderson <email@hidden>)
 >Re: [OT] Verification required? (From: Graff <email@hidden>)

  • Prev by Date: Re: [OT] Verification required?
  • Next by Date: Re: Bug in Safari or Finder
  • Previous by thread: Re: [OT] Verification required?
  • Next by thread: Re: FSSpec, FileURL
  • Index(es):
    • Date
    • Thread