Fields commands
Fields actions for the loaded PersoFile. All commands participate in the same atomic, undoable script run.
field.set
Set label, key, type, required, visible, startBlank, defaultValue or format. Booleans must be true/false. Renaming updates bindings; changing a bound field type is rejected.
field.set key property valueExamples
field.set holderName visible truefield.set holderName format "Member: *"field.add
Create a field and its first placement. A textbox is a multiline text field. Selects the new placement.
field.add key label [text|image|textbox] [surfaceId]Examples
field.add memberNumber "Member number" text frontfield.place
Place an existing field again; its value and options are shared. Selects the new placement.
field.place key [surfaceId]Examples
field.place holderName rearfield.delete
Remove a field definition and all text/image/code placements that use it.
field.delete keyExamples
field.delete unusedFieldbind
Bind selected plain static text/images to an existing compatible field, or create a field for each selected object when omitted. For codes, use source instead.
bind [existingFieldKey]Examples
select id:caption; bind holderNamesource
Use an existing text field as the dynamic source of selected QR/barcodes.
source fieldKeyExamples
select id:memberBarcode; source memberNumbersource.new
Create a new text source for each selected QR/barcode using its sample content.
source.newExamples
select id:memberBarcode; source.newScripting engine 1.0.0 · This reference is generated from the implemented command catalogue.
