Did you have a look at the functions offset and lineoffset?

put "football" into myWord
put "Text position:" && offset(myWord,theContainer)
put lineOffset(myWord,theContainer) into L
put "Line:" && L
put "Line position:" && offset(myWord,line L of theContainer)



"James Hale" <[EMAIL PROTECTED]> wrote

> I do not just want the word position within the text itself.
>
> I also want the line the word is located and the position within that 
> line.
>
> So, as an example I end up with the following for one word, say 
> "football"
>
> Word:  football
> Text position: 132
> Line: 4
> Line Position: 13 



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to