Re: Sort folder list descending
Re: Sort folder list descending
- Subject: Re: Sort folder list descending
- From: Luther Fuller <email@hidden>
- Date: Thu, 25 Mar 2010 16:20:59 -0500
On Mar 25, 2010, at 4:10 PM, Alex Zavatone wrote: Ok, it looks like this is most of the way there. Do you have a good way to get the text name of the folder out of the resulting list while keeping the sort order?
How do I simply get the folder name of these folders as On Mar 25, 2010, at 3:33 PM, Luther Fuller wrote: get sort (get folders of sourceFolder) by modification date set folderList to (reverse of the result) as alias list
Perhaps this does what you are looking for ...
set sourceFolder to alias "OS_X:Library:Frameworks" -- for example tell application "Finder" get sort (get folders of sourceFolder) by modification date set folderList to (reverse of the result) as alias list -- repeat with i from 1 to (count items of folderList) (name of item i of folderList) as text display dialog the result end repeat end tell beep
Or not?
|
_______________________________________________
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