This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Actions & Rules : Self-Cancelling Rules & Actions |
Self-Cancelling Rules & Actions |
By setting an action or rule to nothing as the last of a set of chained tasks, it can be self-cancelling. From v3.5.2 this can be done as part of the rule/action itself. Consider this rule:
Color=blue;Rule="";
When the rule is run, the note's Color is set to 'blue' and the Rule is set to nothing. Thus the Color assignment is run once-only before the rule ceases to exist.
Up: Actions & Rules | |
Previous: Setting an attribute to re-enable inheritance | Next: Invoke command line scripts |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]