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

Re: Sorting


  • Subject: Re: Sorting
  • From: Allen Watson <email@hidden>
  • Date: Wed, 21 Nov 2001 13:31:14 -0800

On Tue, 20 Nov 2001 08:46:25 -0600 AppleScripter
<email@hidden> wrote:

> You can do:
>
> set fileList to every item of aFolder
>
> which will give you a list. You can then sort the list

That gives a list of Finder items like 'folder "Documents" of disk
"HardDisk"'. I'm not sure a sort will work on those. You might need to do:

set fileList to name of every item of aFolder

Then, you can sort the names. But I believe that every item of a folder will
return the folder sorted by name anyhow...by default. OS X Finder has a
built-in Sort command, but in the dictionary it says it isn't available yet.


  • Prev by Date: Re: script editor wants to save an unchanged script
  • Next by Date: Re: Store Script Madness
  • Previous by thread: Re: Sorting
  • Next by thread: Maximum Idle time 86400 seconds ???
  • Index(es):
    • Date
    • Thread