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 triggeredsize
: The filesize of the saved document, in bytesautoSaved
: A BOOL that istrue
if the document was auto saved by the operating system, andfalse
otherwise
Last update: 2025-06-12 15:49:33 +0000