Language Guide
APPENDIX B
Scriptable Text Editor Dictionary
Scriptable Text Editor Object Class Definitions 333
the characters of the text object. Both properties are lists of
constants that specify text styles. If a style does not appear in
either list, the style applies to some but not all of the characters
in the object. See “Elements of Text Objects” on page 314 for
information about how styles are used. The constants that can
be used in Uniform Styles property lists are bold, italic,
outline, underline, and shadow.
Modifiable? No
ELEMENT CLASSES
See “Elements of Text Objects” on page 314 for a general discussion of these
element classes.
Character Characters contained in the paragraphs
Paragraph Paragraphs contained in the paragraphs
Text Series of characters contained in the paragraphs
Text Item Text items contained in the paragraphs
Word Words contained in the paragraphs
COMMANDS HANDLED
Copy, Count, Cut, Data Size, Delete, Exists, Get, Make, Move, Select, Set
DEFAULT VALUE CLASS RETURNED
Styled Text
EXAMPLE
tell document "Memo" of app "Scriptable Text Editor"
set style of (paragraphs whose first word = "Hello") to bold
end tell