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

Jump to the current version of aTbRef

TinderboxSix Icon

Compound Actions

Compound actions are just like simple actions but each action is separated by a semicolon:

Action: $Color="red";$Priority="high" 

Sometimes, this leads to complications. Suppose, for example, you want an action to set the $OnAdd action. (Perhaps you have an agent that's looking for containers of $UrgentTasks, and wants to set the $OnAdd action for those containers). The simplest way of writing this is:

Action: $OnAdd=$Color="red";$Priority="high" 

…which will do two things: set the $OnAdd action to "$Color=Red" and set the $Priority to high.

If you want the $OnAdd action to be set to the entire expression, enclose it in quotes:

Action: $OnAdd="$Color=red;$Priority=high"

This quoted style is also required if setting multiple $KeyAttributes values (or any set/list-type attribute).

Action: $KeyAttributes="Color;Name;Rule"

Action: $KeyAttributes= $KeyAttributes(parent) + "Border;Color2"

A Tinderbox Reference File : Actions & Rules : Compound Actions