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/>