Current package revision

Revision date: 2026-03-17

Revision timestamp: 2026-03-17 14:15:00

Status: Active document in the current doc_updates package.

Note: This document was added or substantially expanded during the final full integration pass.

MyAnythingList Canonical English Docs
Freshness: 2026-03-17 final full integration pass • Standard navigation header/footer • Explicitly expanded for future humans and future AIs.

Commands and Functions

commands-and-functions_en.html

This is the “go here first” scripting catalog for people who need to know what can be automated.

Command groups

GroupPurposeExamples
State setupEstablish input URLs, text, thumbnail sources, language, and UI-related state.setDocument(), setThumbnail(), setLanguage()
Render controlRequest live preview or export rendering from the canonical composition model.render(), measure(), preview()
Output controlExport still images or package outputs at target resolutions.exportImage(), exportPackage()
InspectionExpose current state, readiness, failures, and diagnostics.getState(), getRenderReadiness(), validate()

Core command expectations

Illustrative commands and functions

setThumbnail

setThumbnail({
  mode: "image" | "url-art",
  source: "https://example/image.png" | null,
  fitMode: "contain" | "cover-with-protected-content" | "outpaint-horizontal",
  altText: "optional descriptive text"
})

setQr

setQr({
  enabled: true,
  content: "https://example.com",
  position: "auto" | "top-right" | "custom",
  layerPolicy: "dedicated"
})

render

render({
  target: "live" | "export",
  resolution: { width: 8192, height: 4320 },
  colorMode: "default",
  language: "en"
})

exportImage

exportImage({
  format: "png" | "jpeg",
  qualityMode: "master" | "compact",
  requireQrParity: true
})

Scripting-specific fail conditions