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

Design commands

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

design.set

Update file metadata. Tags are a quoted JSON array. Folder segments use |.

design.set name|path|description|tags value

Examples

design.set name "Staff membership"
design.set tags '["staff","membership"]'

design.svg

Replace the complete SVG source. Existing field definitions remain. Final validation rejects unsafe SVG or missing field references.

design.svg svgMarkup

Examples

design.svg '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><rect width="600" height="400" fill="white"/></svg>'

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