• 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: getting a file list in sorted order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: getting a file list in sorted order
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: getting a file list in sorted order (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Int Function
  • Next by Date: (was Int Function) mod bug
  • Previous by thread: Re: getting a file list in sorted order
  • Next by thread: Re: getting a file list in sorted order
  • Index(es):
    • Date
    • Thread