Optional_Internal ID.
OptionalhiddenHidden from normal user, even document owner.
OptionalimgScript image. If type is macro, this is overwritten by the macro image.
OptionalnameScript name. If type is macro, this is overwritten by the macro name.
If type is script, this is the script body. If type is macro, this is the UUID to the macro.
Static Readonly InternalmetadataMetadata mimicking Foundry documents
Required by pf1.applications.ScriptEditor
Retrieve UUID
Relies on Item#getEmbeddedDocument() override to function with fromUuid() and similar functions.
StaticdocumentDelete this script call
Context options to pass to the update call
Executes the script.
An object passed between script calls, and which is passed back as a result of ItemPF.executeScriptCalls.
A dictionary containing extra parameters to pass on to the call.
Get macro delegate for executing this script call with.
StaticcreateCreates a script call.
StaticdefineStaticmigrateStaticprune
Script Call