MACSCRPT Archives

March 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Mac OS X Mail 6.3 \(1503\))
Content-Type:
text/plain; charset=us-ascii
Date:
Sat, 30 Mar 2013 09:00:45 +1100
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Shane Stanley <[log in to unmask]>
Message-ID:
In-Reply-To:
Content-Transfer-Encoding:
quoted-printable
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (10 lines)
On 30/03/2013, at 2:11 AM, Bill Steele <[log in to unmask]> wrote:

> I'm in the habit of using "as string" because Applescript sometimes treated concatenation as the creation of a list.

There's only a list involved if the first item is not a string, and if that's the case you're better off coercing just that item first. It's more efficient, and it avoids precisely the problem you are seeing.

-- 
Shane Stanley <[log in to unmask]>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>

ATOM RSS1 RSS2