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

Sort Problem


  • Subject: Sort Problem
  • From: Luther Fuller <email@hidden>
  • Date: Sat, 22 Aug 2009 16:16:36 -0500

I have a script (in 10.5.8) that tells the Finder to ...

set fileList to sort (files of someFolder whose name extension is "pdf") by modification date

It works perfectly. Realizing that I really didn't need the whose phrase because the files in the folder are always pdf files, I change the line above to ...

set fileList to sort (files of someFolder) by modification date

Now, I always get the error ...

"Finder got an error: every file of alias \" ... \" doesn’t understand the sort message."

Does anyone know why I get this error?

 _______________________________________________
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 Problem
      • From: Christopher Stone <email@hidden>
    • Re: Sort Problem
      • From: Axel Luttgens <email@hidden>
    • Re: Sort Problem
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: INDESIGN: Returned List Items Take On Leading Period When Coerced to Text. Why?
  • Next by Date: Re: Sort Problem
  • Previous by thread: Re: INDESIGN: Returned List Items Take On Leading Period When Coerced to Text. Why?
  • Next by thread: Re: Sort Problem
  • Index(es):
    • Date
    • Thread