MACSCRPT Archives

January 2011

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:
Fri, 21 Jan 2011 16:42:16 +1100
Content-Type:
text/plain
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