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

DisplayExpression


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute UI-configurable? 

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Altered: 

 action   [other action-type attributes]

 (not set - empty string)

 General   [other General Group attributes]

 Action code

 No

 Yes

 No

 No

 Baseline

 


Action code expression to customise the way a note's name is displayed in Tinderbox views via $DisplayName.

$DisplayName holds the evaluated result of $DisplayExpression' code. If $DisplayName has a value if is used instead of $Name in many views within Tinderbox; $Name is unaffected.

Some users find it helpful to use actions and rules to append information to not names, e.g. a word count, number of children or the value of some attribute. However, this does change the actual name of the note and can cause problems with other actions which do not expect note names to change.

See a further description of display expressions.

$DisplayExpression can be set via the Text Inspector → Title tab, 'Display Expression' input box.