MACSCRPT Archives

March 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Shane Stanley <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Sat, 30 Mar 2013 09:00:45 +1100
Content-Type:
text/plain
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