Tinderbox allows AppleScript to evaluate action code expressions and is akin to using the action operator eval(). The generic form of evaluating of an expression:
evaluate note with expression
The first argument note is an AppleScript specifier for the note, which will be bound to this for the evaluation. The evaluate
command may be issued to either the document or to a specific note.
Performing evaluation
This returns the result of evaluating an expression:
set myResult to evaluate theNote with "…expression…"
Within an evaluate
, =
means a value comparison (although use of the less ambiguous operator ==
is preferred). An 'evaluate' operation presumes the content of the note is action code whose evaluated result is to be returned.
See also—notes linking to here: