At 09:33 -0500 20/01/2011, Mark J. Reed wrote:


>To be fair, a TID-based solution is short and not what I would call inelegant:
>
>set text item delimiters to "."
>set bareName to text items 1 through -2 of theName as text

You will find it inelegant enough if you running it in the name space 
of an application that has no idea what it means, for example from 
the Scripts menu of a proper traditional Mac application.

I recommend that, in spite of its apparent verbosity, you _always_ use

AppleScript's text item delimiters

JD