DocumentSaved

Important: Athens (2025.1) introduced fundamental changes to Sketch. API documentation may not be up to date.

This action is triggered when a document is saved.

This can happen in a number of situations:

  • when the user manually saves a document
  • when a document is auto-saved by the operating system

Action Context

The action context for this action contains three keys:

  • document: The document where the action was triggered
  • size: The filesize of the saved document, in bytes
  • autoSaved: A BOOL that is true if the document was auto saved by the operating system, and false otherwise
Last update: 2025-06-12 15:49:33 +0000