Scripting Additions Guide

CHAPTER 2
Scripting Addition Commands
Command Definitions 57
NOTES
To specify the name (nameString) of a script file, use a string of the form
"Disk:Folder1:Folder2:...:Filename" as described in Chapter 5, “Objects
and References,” of the AppleScript Language Guide. If you specify only the
name of the file (Filename) instead of its entire pathname, AppleScript
attempts to find the file in the current directory.
ERRORS
Scripting Components 2
The Scripting Components command returns a list of the names of the scripting
components currently available to the target application. It is the only
command provided by the Scripting Components scripting addition.
SYNTAX
scripting components
Error
number Error message
–50 Parameter error.
–108 Out of memory.
–192 Bad name for file.
–1700 Can't make some data into the expected type.
–1701 Some parameter is missing for <commandName>.
–1704 Some parameter was invalid.
–1705 Operation involving a list item failed.
–1708 <reference> doesn't understand the <commandName> message.
–1718 Reply has not yet arrived.
–1750 Scripting component error.
–1751 Invalid script id.
–1753 Script error.