NSDocument.SaveOperationType.autosaveAsOperation
An operation that writes a document’s contents to a new file or file package even though the user has not explicitly requested it, then changes the document’s current location to point to the just-written file or file package.
Declaration
case autosaveAsOperation