Tinderbox v9 Icon

Actions & Rules

An action is an automatic way of setting a certain attribute to a certain value (with the exception of system read-only attributes which cannot be altered).

Here 'note' may be read to mean any note-like object (note, agent, adornment, etc.). The term 'rule' is just one form of applying an action and relates to the scope of its use. Actions can be invoked a number of ways:

A function is a pre-saved set of actions that can be called from any action, allowing a complex process to be reused without having to duplicate a lot of code. Unlike a stamp, a function can take input values that are used by the function to generate its output.

Attributes storing action events. View a full listing of attributes storing actions.

Case sensitivity: Action code operators are always case-sensitive (unlike export codes).

Agents can have actions. An agent performs its action on aliases of all the notes it finds that match its agent query.

Making/deleting notes: See create(), createAgent() and delete().

Syntax: discussed under basic action code syntax. Note the point above re case-sensitivity.

Further discussion of use of actions:



A Tinderbox Reference File : Actions & Rules