When is a "word" not a "word"?
Richard Gaskin
ambassador at fourthworld.com
Fri Jun 4 17:47:23 EDT 2004
Barry Levine wrote:
> I may be misinterpreting things or simply have an erroneous expectation:
>
> Let's say you have a field containing the text "Is this something?"
>
> Double-click on the last word and the nine letters that make up the word
> are selected. That seems to be what you would expect. Now open the
> message box and type "the last word of field 1". What do you get? That's
> right; the "?" is also part of the last word.
>
> So I guess what I'm looking for is the Transcript equivalent of
> double-clicking a word. There's the "clickChunk" but that implies I've
> actually clicked on the word. This needs to be done independent of any
> mouseClicks.
>
> How would I describe: "the last word minus the last char of field 1"
Try token instead of word.
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________
Rev tools and more: http://www.fourthworld.com/rev
More information about the use-livecode
mailing list