>
>> On the same line: I often miss a clickWord (??), which should return:
>> "word 5 of field y".
>
>How about something like:
>
>function ClickWord
> put word 4 of the clickChunk into tEnd
> put value(the clickField) into tData
> return "word "& the number of words of (char 1 to tEnd of tData) \
> &" of "&the clickfield
>end ClickWord
>
>
Thanks for the tip, I already had a scripting routine for finding the
number of the word, but your mail has reduced the script to only 3
lines:
on mouseUp
put word 4 of the clickChunk into tEnd
put value(the clickField) into tData --all teksten i feltet
answer the number of words of (char 1 to tEnd of tData)
end mouseUp
--
-----------------------------------------------------------
1. amanuensis Signe Marie Sanne e-mail: [EMAIL PROTECTED]
Romansk Institutt tel: +47 55 58 21 27
Oysteins gt. 1
5007 Bergen http://www.hf.uib.no/hfolk/mlab/default.html
Norway
-----------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.