November 2003
Beginner to intermediate
480 pages
15h 3m
English
plain, bold, italic, outline, shadow, underline, superscript, subscript, strikethrough, small caps, all caps, all lowercase, condensed, expanded, hidden
Text styles, available for use by
applications that wish to speak of such things. The example here
shows Tex-Edit Plus returning a text style record. (See Section 19.3.6.) This is a record consisting of two lists,
the on styles (those that are applied to a piece
of text) and the off styles (those that are not
applied to a piece of text). The items of each list are text styles.
The piece of text we’re asking about here is
underlined.
tell application "Tex-Edit Plus"
set tsr to style of word 4 of document 1
on styles of tsr -- {underline}
end tellRead now
Unlock full access