Re: Error in Leopard
Re: Error in Leopard
- Subject: Re: Error in Leopard
- From: Luther Fuller <email@hidden>
- Date: Thu, 29 Dec 2011 15:47:04 -0600
On Dec 29, 2011, at 2:27 PM, Stan Cleveland wrote: I'm not sure about the cause of this problem, but would suggest adding another pair of parentheses as a possible solution:
tell application "Finder" set msgList to (reverse of (sort (items of sourceFolder) by modification date))
No guarantees, but worth a try.
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.
|
_______________________________________________
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