FSSpec, FileURL
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.