Re: getting a file list in sorted order
Re: getting a file list in sorted order
- Subject: Re: getting a file list in sorted order
- From: Steven Angier <email@hidden>
- Date: Mon, 19 Aug 2002 13:14:15 +1000
On 19/8/02 12:35 PM, "Christopher Nebel" <email@hidden> wrote:
>
On Saturday, August 17, 2002, at 09:25 PM, Steven Angier wrote:
>
>
> The "list folder" command (upon which all Macscript.com Library file
>
> listing
>
> functions is based) returns file names sorted alphabetically.
>
>
In fact, it does no such thing. It returns the file names in the order
>
they appear in the directory entry. For HFS+, this happens to be
>
alphabetic order (at least for English -- I'm not sure what it does
>
with non-Roman scripts), but is essentially random for most other disk
>
formats. Something to be aware of before you try using it on an NFS
>
server.
Thanks for the warning. Perhaps my statement should have been:
The "list folder" command ... returns file names which, in my experience,
happen to be in alphabetical order. :-)
BTW: is any of this documented anywhere?
Steven Angier
Macscript.com
_______________________________________________
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.