The Tree of Widsdom

智慧の樹

The Golden Age of display handling

The BoxPress SmartExpression: modular and stamp-governed

The BoxPress SmartExpression

Once you have enabled evaluation of other notes’ text, you are home free. BoxPress uses this to maximum effect with its novel SmartExpression. A SmartExpression is a Tinderbox modular display expression whose segments are all conditional on booleans—that is, on checkboxes. Here, for example, is the display expression for normal_note:

This expression checks boolean variables before it acts. This way, you can turn the display of date, count, and link Bips on and off with a click and a single digit.
This expression checks boolean variables before it acts. This way, you can turn the display of date, count, and link Bips on and off with a click and a single digit.

Now you can modify the display expression for all your normal-notes very easily. There are two methods.

  • Direct method—Invoke the Get Info popover (⌥⌘I) and select what you want to show:
This expression checks boolean variables before it acts. This way, you can turn the display of date, count, and link Bips on and off with a click and a single digit.
This expression checks boolean variables before it acts. This way, you can turn the display of date, count, and link Bips on and off with a click and a single digit.

Just set the $DEBips, $DECount, $DEDate, $DEIcons, and $DENum to create what you want. (The $DEExport you see there is a separate trigger—it determines whether the note exports with its title set to $Name or to $DisplayName.)

  •  Stamp method—Select normal_note and run the appropriate stamp:
Pick a stamp and run it. Doing so will toggle the value between default and non-default. This lets you return the value to transparency so that it can receive the default from its prototype.
Pick a stamp and run it. Doing so will toggle the value between default and non-default. This lets you return the value to transparency so that it can receive the default from its prototype.