ID's for linked text?

Mark Schonewille m.schonewille at
Thu May 11 12:47:14 EDT 2006

Hi Derek,

This returns the number of the paragraph you clicked on:

on mouseUp
   put number of lines of (char 1 to (word 4 of the clickChunk) of me)
end mouseUp

assuming that paragraphs are separated by returns. Put this script  
into a field script.




Consultancy and Software Engineering

Salery is the easiest way to get your own web store on-line: http://

Op 11-mei-2006, om 17:07 heeft Derek Larsen het volgende geschreven:

> I have a text field that has specific paragraphs setup as linked.  
> I'd like
> to find a dynamic way to find out which one of those paragraphs the  
> user
> clicked on without having to know the content of the paragraph.
> Is there any kind of ID or number associated with each link? I  
> haven't been
> able to find anything useful in the documentation.
> Any insight would be appreciated.
> Thanks!

More information about the Use-livecode mailing list