This version is out of date, covering development from v8.0.0 to v8.x.x. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v8 Icon

Designators in actions

Group designators areallowed in attribute references. For example:

$MyList=$Color(children); 

finds a list of the colours ($Color) of each child of this note, and

$MyList=$Color(children).unique; 

finds the same list but without duplicates. N.B. a list can hold duplicate values.

Working with numerical values:

$MyNumber=$Width(children).max; 

will find the maximum width of the container's children.

When the same designator is applied to the attribute $Text

$Text=$Text(children); 

the texts of each child are placed in this note's $Text, separated by paragraph breaks. To append the same child text to existing text:

$Text=$Text+"\n"+$Text(children); 



A Tinderbox Reference File : Actions & Rules : Designators in actions