Language Guide
APPENDIX B
Scriptable Text Editor Dictionary
346 Scriptable Text Editor Commands
Make Behaves like the standard version defined on page 105, with some
exceptions. The default location for new text objects is the current
selection; the default location for new document and window
objects is in front of other Scriptable Text Editor windows.
When you create text objects with the Make command, the
Scriptable Text Editor automatically adds the appropriate delimiters
before or after the new text objects, depending on the script code for
the new text, the script code for the surrounding text, and, in the
case of text items, the value of the Text Item Delimiters property. Do
not include delimiters in the with data parameter.
Move Behaves like the standard version defined on page 106, except that
the direct parameter must be a single object. The Scriptable Text
Editor cannot move a range of objects.
Open Behaves like the standard version defined on page 107, except that
the Scriptable Text Editor can only open text files or its own files.
If you use the Open command to open a file of type "TEXT", the
Scriptable Text Editor automatically converts the file to a Scriptable
Text Editor file and appends “.s” to the end of the filename.
Print Identical to the standard version defined on page 108.
Quit Identical to the standard version defined on page 109.
Run Identical to the standard version defined on page 110.
Save Behaves like the standard version defined on page 112, except that it
has an optional parameter that allows you to save Scriptable Text
Editor files as text files.
The direct parameter of the Save command must be a single object.
The Scriptable Text Editor cannot save a range of objects.
Set Identical to the standard version defined on page 113.
Table B-1 Variations from standard behavior in Scriptable Text Editor versions of
standard application commands (continued)
Standard
application command Scriptable Text Editor version