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

Property reference

Use set property value after selecting objects. Field metadata uses field.set key property value instead.

select field:holderName;
set fill "#234f70";
set font-size 28;

Geometry

move, position, size, surface dimensions, textbox dimensions and fit widths use mm. font-size, padding, stroke-width, spacing typography and code data-* size attributes use local SVG units. Prefer size for physical code dimensions.

Typography

font-weight: 400/700; font-style: normal/italic; text-anchor: start/middle/end. Multiline align: left/center/right/justify/fill. kerning: on/off. overflow: error/shrink. line distribution: spacing/fill. Use Noto Sans, Noto Serif or Lato for outlined layout. Font-size/min-size support two decimals.

Codes

Use source / text / field.set to edit dynamic content. data-qr-border: none/black; data-qr-rounded: true/false. QR remains square. Code128 supports printable ASCII; formatted content must fit its encoding limits.

Safety

Scripts edit only the loaded draft. They do not save, publish releases, delete assets or execute JavaScript. A successful run is one Undo step. Failed runs apply no design edits. Reference syntax is inspired by CFQL assignment/separators, not a promise to execute every legacy CFQL command.

Supported properties

Field properties

label, key, type, required, visible, startBlank, defaultValue, format. Boolean values are true or false. Existing placements must remain compatible with the field type.

field.set holderName visible true;
field.set holderName startBlank true;
field.set holderName format "Member: *";

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