Language Guide
APPENDIX B
Scriptable Text Editor Dictionary
Scriptable Text Editor Object Class Definitions 331
COMMANDS HANDLED
Copy, Count, Data Size, Exists, Get, Set
DEFAULT VALUE CLASS RETURNED
Reference
EXAMPLES
The following statement moves the first word of a document to the insertion
point after the tenth word.
tell document "Intro" of app "Scriptable Text Editor"
move word 1 to insertion point after word 10
end tell
The following statement does the same thing:
tell document "Intro" of app "Scriptable Text Editor"
move word 1 to after word 10
end tell
AppleScript allows you to leave out the words insertion point when
specifying locations with the Relative reference form. For more information
about the Relative reference form, see “Relative” on page 139.
Paragraph B
An object of class Paragraph is a text object that’s delimited by return
characters or by the beginning or end of the container.