Re: Order of items in a file list from Finder
Re: Order of items in a file list from Finder
- Subject: Re: Order of items in a file list from Finder
- From: Andrew Oliver <email@hidden>
- Date: Mon, 31 Mar 2003 21:50:49 -0800
On 3/31/03 9:10 PM, "Jeffrey Mattox" <email@hidden> wrote:
>
This script:
>
>
tell application "Finder"
>
set theFileList to (name of every file in folder aFolder)
>
end tell
>
>
returns a list in ascending alphabetical order.
>
>
1. Can I rely on that ordering to always be the case?
Personally, I wouldn't chance it. It does seem that things are better now,
but historically it wasn't always the case.
>
>
2. Is there an option to get the list in creation date order?
No, but there's several sort routines you can run to sort the list.
>
>
3. Where is this documented?
Hahahaha. Good one :)
Andrew
:)
_______________________________________________
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.