Re: order of files in Finder vs. file index number
Re: order of files in Finder vs. file index number
- Subject: Re: order of files in Finder vs. file index number
- From: Luther Fuller <email@hidden>
- Date: Wed, 26 Mar 2008 17:54:15 -0500
On Mar 26, 2008, at 4:21 PM, scriptcode wrote:
Is there a way to get AppleScript to manipulate files in a folder
in the
order they appear in the Finder rather than in the order of their
index
number?
When I used this ...
set folderList to (folders of folderRef) as alias list
I got an alphabetic ordering that did not match the Finder's ordering
in an open folder window.
So I changed to ...
set folderList to (sort (folders of folderRef) as alias list by name)
-- alpha-numeric order, matches Finder
and now I'm happy.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden