Instance Method

handleSaveScriptCommand:

Handles the save AppleScript command by attempting to save the window (and its associated document, if any).

Declaration

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

Discussion

The default version invokes the same named method of the window's document, if the window is the one being saved.

See Also

Handling Script Commands

- handleCloseScriptCommand:

Handles the close AppleScript command by attempting to close the window (and its associated document, if any).

- handlePrintScriptCommand:

Handles the print AppleScript command by attempting to print the contents of the window (or its associated document, if any).