Instance Method

handleSaveScriptCommand:

Handles the Save AppleScript command by attempting to save the document.

Declaration

- (id)handleSaveScriptCommand:(NSScriptCommand *)command;

Parameters

command

An AppleScript command object.

Discussion

Extracts Save command arguments from the command object and uses them to determine the file in which to save the document and the file type.

See Also

Scripting

- handleCloseScriptCommand:

Handles the Close AppleScript command by attempting to close the document.

- handlePrintScriptCommand:

Handles the Print AppleScript command by attempting to print the document.

objectSpecifier

Returns an object specifier for the document.

lastComponentOfFileName

Sets the document name to the given string in terms of the scripting name property (the name a script writer would use to specify the document in a script).