Re: Arrays in AppleScript ?
Re: Arrays in AppleScript ?
- Subject: Re: Arrays in AppleScript ?
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 28 Dec 2005 14:39:46 -0800
- Thread-topic: Arrays in AppleScript ?
On 12/28/05 2:27 PM, "Jon Pugh" <email@hidden> wrote:
> At 3:11 PM -0500 12/28/05, Mark Lively wrote:
>> I thought *everything* was magically coerced into a 1 item list.
>
> Everything *can* be coerced into a 1 item list. Can be a subtle difference.
Jon means that an application's developers can, and would need to, enable
such a coercion - a specific coercion for specific concatenations - for it
to happen. In fact I think that there are a few places in Finder scripting
where this is enabled, but I don't know of (m)any other apps that do it.
(E.g., if you try it in Entourage, you get the error "Cannot make [object]
into a vector", where [object] is whatever object - contact, message, etc. -
that you were attempting to concatenate to a list of similar objects.)
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden