Skip to content

ScriptVersionState ​

Type: Object

One saved state of a script. Immutable once written.

Fields ​

NameTypeArgsDescriptionDeprecated
contentString!The saved Lua source
createdAtISO8601!When it was saved (ISO8601)
createdByUserIdUserIDWho saved it, when known
descriptionStringWhy this version exists, e.g. "Restored version 3"
idScriptVersionID!Unique identifier
nameString!The script's name at the time of the save
roleScriptRole!The script's role at the time of the save
scriptIdScriptID!The script this version belongs to
versionInt!Sequential version number within the script

Connect machines, automate workflows, and build custom apps for print production.