• 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
Implied 'get' (was Re: Error in Leopard)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Implied 'get' (was Re: Error in Leopard)


  • Subject: Implied 'get' (was Re: Error in Leopard)
  • From: Stan Cleveland <email@hidden>
  • Date: Thu, 29 Dec 2011 14:11:09 -0800

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

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.

Hi Luther,

I was under the impression that the use of parentheses was more-or-less equivalent to a 'get', in which case using both would be overkill. Your scenario punches a big hole in that idea. Please confirm that the following does fail:

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

If so, then it's clear that an implied 'get' is the result of the syntax of the code, not the parentheses. 

Stan C.

 _______________________________________________
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: Implied 'get' (was Re: Error in Leopard)
      • From: Luther Fuller <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: Error in Leopard
  • Next by Date: Re: Implied 'get' (was Re: Error in Leopard)
  • Previous by thread: Re: Error in Leopard
  • Next by thread: Re: Implied 'get' (was Re: Error in Leopard)
  • Index(es):
    • Date
    • Thread