• 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: folder order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: folder order


  • Subject: Re: folder order
  • From: Andrew Oliver <email@hidden>
  • Date: Fri, 01 Apr 2005 09:46:31 -0800

On 4/1/05 9:25 AM, "Steve Suranie" <email@hidden> wrote:

>>> For all intents and purposes, consider it random. <<
>
> Anyone know why it's this way?

As I understand it, it's up to the underlying filesystem the disk is
formatted with, not something that AppleScript is doing directly. Normally
HFS+ (the Mac default) returns directory listings in an alphabetical order,
but other filesystems may use other orders. UFS may use inodes while a
server volume running NTFS may use something different.

It's not that it truly *is* random, just that it's based on some facet you
can't predict and therefore is unreliable.

> Seems to me if I was building AS Beta one of
> the first things I would have done is default alphabetically by filename how
> folders and folder items are listed and provide an easy option for
> programmers to list them via other methods -
>
> set thisList to every item of thisFolder sort by filename - or file size,
> or kind, ...you get the idea.

As I said, for some time now the Finder has hinted at a 'sort' command, but
it's always listed as 'not available yet'. Why it's included in the
dictionary I don't know since it's just a tease.

Andrew
:)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: folder order
      • From: Steve Suranie <email@hidden>
References: 
 >Re: folder order (From: Steve Suranie <email@hidden>)

  • Prev by Date: Re: folder order
  • Next by Date: Re: Mac vs unix Carriage returns on a text file format
  • Previous by thread: Re: folder order
  • Next by thread: Re: folder order
  • Index(es):
    • Date
    • Thread