Re: Error in Leopard
Re: Error in Leopard
- Subject: Re: Error in Leopard
- From: Stan Cleveland <email@hidden>
- Date: Thu, 29 Dec 2011 12:27:42 -0800
On Dec 29, 2011, at 12:16 PM, Luther Fuller wrote: I have a script that works perfectly in Lion and Snow Leopard, but errors in Leopard (10.5.8). The problem is the one line of code ...
tell application "Finder" set msgList to (reverse of (sort items of sourceFolder by modification date)) -- this errors in Leopard
<snip> Does anyone know more about the nature of this problem? Is there a known bug in Leopard here?
Hi Luther,
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.
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