User Guide

802 Chapter 14: Properties
See also
hyperlinkRange, hyperlinkState
hyperlinkRange
Usage
-- Lingo syntax
chunkExpression.hyperlinkRange
// JavaScript syntax
chunkExpression.hyperlinkRange;
Description
Text cast member property; returns the range of the hyperlink that contains the first character of
the chunk expression.
This property can be tested but not set.
Like
hyperLink and hyperLinkState, the returned range of the link contains the first character
of
chunkExpression.
See also
hyperlink, hyperlinkState
hyperlinks
Usage
-- Lingo syntax
chunkExpression.hyperlinks
// JavaScript syntax
chunkExpression.hyperlinks;
Description
Text cast member property; returns a linear list containing all the hyperlink ranges for the
specified chunk of a text cast member. Each range is given as a linear list with two elements, one
for the starting character of the link and one for the ending character.
Example
This statement returns all the links for the text cast member Glossary to the message window:
--Lingo syntax
put(member("Glossary").hyperlinks) -- [[3, 8], [10, 16], [41, 54]]
// JavaScript syntax
trace(member("Glossary").hyperlinks); // [[3, 8], [10, 16], [41, 54]]