Re: faulty logic, mine
Re: faulty logic, mine
- Subject: Re: faulty logic, mine
- From: Michelle Steiner <email@hidden>
- Date: Wed, 16 Sep 2009 12:38:12 -0700
On Sep 16, 2009, at 12:07 PM, Luther Fuller wrote: returns a list of item references, while ...
get selection as alias list
returns a list of aliases. I prefer to always use the second.
And something that was fixed either in Snow Leopard or in Leopard is that even if there is only one item selected, it returns a list of one item. In the past, it erred, and you would have to use
get selection as alias
That meant that you had to check the count of items in the selection and branch to appropriate code.
BTW, now it even returns and empty list if nothing is selected (even if "as alias list" is used); previously, it would err with no selection.
-- Michelle
-- "I never told my religion, nor scrutinized that of another. I never attempted to make a convert, or wished to change another's creed. I have judged of other's religion by their lives, for it is from our lives, and not from our words, that our religion must be read."
~Thomas Jefferson
|
_______________________________________________
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