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

Selection commands

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

select

Replace the working selection. Selectors: field:key, id:svgId, layer:0/1, label:Exact label, tag:rect, side:front, all, none. Selectors combine as a union; quote selectors containing spaces. Selection is internal to the script.

select selector [selector …]

Examples

select field:holderName; move 2 0
select "label:Background panel"; set fill "#163b56"

side

Set the default side for subsequent additions. Does not change existing objects.

side surfaceId

Examples

side rear

list

Print IDs, paths and field keys to the Scripts output. Use these exact selectors in later commands.

list [layers|fields|surfaces|selection]

Examples

list layers

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