MACSCRPT Archives

January 2011

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced 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
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Mime-version:
1.0
Date:
Fri, 21 Jan 2011 16:42:16 +1100
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Content-type:
text/plain; charset="US-ASCII"
Subject:
From:
Shane Stanley <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7bit
Parts/Attachments:
text/plain (19 lines)
On 21/1/11 3:48 PM, "Daniel A. Shockley" <[log in to unmask]>
wrote:

> Note also that one of the previous posters left off the "as string"
> (or "as text"), which would result in a list of the parsed strings -
> not what you want here.

Well that would be me, but perhaps you should look at what I posted a bit
more closely:

 set bareName to text 1 through text item -2 of theName

That doesn't result in a list -- and it doesn't needlessly make a list and
then coerce it to a string.

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

ATOM RSS1 RSS2