on linkClicked <linkedTextOfChunk> ... end linkClicked
on linkClicked pLink -- open the URL stored with the clicked text launch url pLink end linkClicked
Handle the linkClicked message to respond to the user clicking a link.
The linkClicked is sent to the field that was clicked.
If the clicked text is a link (that is, if its textStyle property contains "link") then the linkText property of the clicked group is sent as the linkedTextOfChunk parameter. If the text of a link is empty, then the text itself is sent as the linkedTextOfChunk parameter.
- linkedTextOfChunk: The linkText property of the clicked text group.