Language Guide
APPENDIX B
Scriptable Text Editor Dictionary
342 Scriptable Text Editor Object Class Definitions
COMMANDS HANDLED
Copy, Data Size, Exists, Get, Set
DEFAULT VALUE CLASS RETURNED
Record; text style info
EXAMPLES
set the style of word 1 to {On Styles:{italic},
Off Styles:{bold, shadow}}
set the style of word 1 to {On Styles:{italic, bold}}
set the style of word 1 to {bold, italic}
get words whose style contains bold
NOTES
The constants that can be used in Style property lists are bold, italic,
outline, underline, and shadow. For a complete description of text
styles, see “Elements of Text Objects” on page 314.
Window B
See the definition of the document object class on page 323.
Word B
Generally speaking, words in English are text objects delimited by spaces,
return characters, or the beginning or end of a container. (For a more precise
definition, see page 61.) Words in other languages are defined by the script
system for each language if the appropriate script system is installed.