Contents

handleSave(_:)

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

Declaration

func handleSave(_ command: NSScriptCommand) -> Any?

Discussion

If there’s a corresponding document and the window is the main window of the document, it forwards the save command to the corresponding document. Otherwise, this method does nothing.

See Also

Handling Script Commands