Language Guide

APPENDIX B
Scriptable Text Editor Dictionary
Scriptable Text Editor Object Class Denitions 329
COMMANDS HANDLED
Open, Print
DEFAULT VALUE CLASS RETURNED
None
EXAMPLE
tell application "Scriptable Text Editor"
print file "MyDisk:Status Reports:Status - 11/12/92"
end tell
NOTES
To specify the name of a file, use a string of the form "Disk:Folder1:Folder2:
...:Filename"; for details, see “References to Files,” which begins on page 144.
You can also specify a string with only a filename ("Filename"). In this case,
AppleScript attempts to find the file in the current directory.
Insertion Point B
An object of class Insertion Point is a location between characters where text
can be inserted. The first insertion point in a container is the place between the
beginning of the container and the first character. In the Scriptable Text Editor,
insertion points are zero-length text objects. As a result, they have the same
properties and elements as text objects.
PROPERTIES
Font The name of the font of the insertion point.
Class: String
Modifiable? Yes