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

sort


  • Subject: sort
  • From: Shawn Brady <email@hidden>
  • Date: Sun, 23 Aug 2009 07:21:10 -0400

tell application "Finder"
set myFolder to "Macintosh HD:Users:Shawn:Pictures:TEST" as alias -- choose folder
set itemList to get every item of myFolder
set sortedList to sort itemList by modification date -- modification date, name, kind, comment
display dialog (item 1 of sortedList as string) & return & (item 2 of sortedList as string) & return & (item 3 of sortedList as string)
-- cant sort by size
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

  • Follow-Ups:
    • Re: sort
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Sort Problem
  • Next by Date: Re: Sort Problem
  • Previous by thread: Re: [Plug] MacScripter.net is ten years old
  • Next by thread: Re: sort
  • Index(es):
    • Date
    • Thread