A little card. A lot of reassurance. Help from The Card Project UK.
The Card Project UK
PersoFiles · Script reference

Appearance commands

Appearance actions for the loaded PersoFile. All commands participate in the same atomic, undoable script run.

set

Change colours, outlines, opacity, typography or code properties on selected objects. See the property reference. Uses existing editor validation.

set property value

Examples

set fill "#234f70"
set font-size 28
set data-box-line-height 1.4

text

Change static wording, or raw default/sample values of selected bound text/code source fields. Shared fields update once across all placements.

text value

Examples

select field:holderName; text "Frank Jones"

image

Set selected static images to an embedded PNG/JPEG/WebP data URL. No URL fetching or local-file access.

image dataUrl

Examples

select id:logo; image "data:image/png;base64,..."

image.fit

Fit selected image contents inside their frames (meet) or crop to fill (slice).

image.fit meet|slice

Examples

image.fit slice

Scripting engine 1.0.0 · This reference is generated from the implemented command catalogue.