Attaches data to a section of text in a field.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.1 Security:
# Syntax
set the linkText of chunk of field to textString
# Examples
set the linkText of line 2 to 3 of field "Contents" to "Leaves of Grass"
# Description
Use the linkText property to store the destination of a link, the text of an associated file, a definition, or other data along with a chunk of text in a field.
However, it is most useful when used with grouped text. If the linkText of grouped text is set to a value, the value is passed with the linkClicked message when the user clicks the text. This lets you use the linkText to specify the destination of a link or other data to use when the text is clicked.
# Tags
# See
- **keyword:** file, field, link, string - **property:** scriptTextSize, fixedLineHeight - **message:** linkClicked - **glossary:** property, grouped text, message, chunk