Re: File best practice questions
Re: File best practice questions
- Subject: Re: File best practice questions
- From: Philip Aker <email@hidden>
- Date: Fri, 14 Mar 2008 19:46:20 -0700
On 08-03-14, at 18:53, Mark J. Reed wrote:
I would just like to add that "file" and "posix file" are
effectively the same class, differing only in the way the specifier
string is parsed. Behind the scenes I think "file" turns into a
fileref
FSRef usually.
and posix file turns into a url,
Not currently. It's just a string (Unicode text unless coerced
somewhere along the way). I believe URLs are the best vehicle
currently available and AppleScript should formalize and implement a
class for them along with adapters and wrappers to deal with the
existing file approaches (=mess:-). I suppose one could make the
argument that URLs don't belong in the language proper but the way I
see it, they're already formalized in XML and are more akin to a sub-
class of text (like a date can be).
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden