When is a "word" not a "word"?

Barry Levine themacguy at macosx.com
Fri Jun 4 17:39:54 EDT 2004


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"

Thanks,
Barry



More information about the use-livecode mailing list