• 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: Error in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in Leopard


  • Subject: Re: Error in Leopard
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 29 Dec 2011 18:45:35 -0700

On Dec 29, 2011, at 2:47 PM, Luther Fuller wrote:

Just before reading your reply, I tried again and found the problem.
Here's what works ...

tell application "Finder"
set msgList to (reverse of (sort (get items of sourceFolder) by modification date)) 

It seems that not only is Leopard picky about parenthesis, but the use of 'get' seems to be required.
Thanks.

That was a bug in Applescript for many versions; I didn't realize that it was fixed in SL.

-- Michelle

--
Never keep catfood and tuna on the same shelf.

 _______________________________________________
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

References: 
 >Error in Leopard (From: Luther Fuller <email@hidden>)
 >Re: Error in Leopard (From: Stan Cleveland <email@hidden>)
 >Re: Error in Leopard (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Implied 'get' (was Re: Error in Leopard)
  • Next by Date: Re: Another "Lion" difference? Finder says it moves but it actually copies
  • Previous by thread: Re: Implied 'get' (was Re: Error in Leopard)
  • Next by thread: Re: Another "Lion" difference? Finder says it moves but it actually copies
  • Index(es):
    • Date
    • Thread