• 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 a list of aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting a list of aliases


  • Subject: Re: Sorting a list of aliases
  • From: Jim Brandt <email@hidden>
  • Date: Mon, 6 Dec 2010 09:05:17 -0600

Luther,

Thanks.

How stupid of me not to look of a sort command in the Finder dictionary.  :>(

Jim


Try this ...

tell application "Finder"
set sourceFolder to (folder of the front window) as alias
set theList to (sort items of sourceFolder by name)
end tell
 _______________________________________________
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

  • Prev by Date: text 1 thru the result
  • Next by Date: Re: Given a POSIX Path...
  • Previous by thread: Re: Sorting a list of aliases
  • Next by thread: Re: Sorting a list of aliases
  • Index(es):
    • Date
    • Thread