Implied 'get' (was Re: Error in Leopard)
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:
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