The Tree of Widsdom

智慧の樹

Method 2: Automatic arrangement by stamp


If you just want to use your HTML Imagmap as a fancy Table of Contents, then BoxPress can arrange your notes for you.

To enable this feature, change the prototype of the note to outmaker_note so that you can easily access the “OutMap control panel”—which is just the Key Attribute Table for that prototype:

Key Attribute Table from <b>OutAgent: Demo</b>, which takes its aliases from <b>PAGE Sampler: Default Export</b> up to a maximum outline depth of <b>6</b>.
Key Attribute Table from OutAgent: Demo, which takes its aliases from PAGE Sampler: Default Export up to a maximum outline depth of 6.

The relevant key attributes are as follows:

  • $outRowMax—Sets the maximum column length, in rows.
  • $outWidth—The column width, calculated as the $Width of the widest (heading 1) note minus $outPaddingX.
  • $outHeight—The height of each note.
  • $outGapX—The horizontal gap between columns.
  • $outGapY—The vertical gap between rows.
  • $outH1—The color for all heading 1 notes.
  • $outH2—The color for all heading 2 notes.

Select All the notes and run the stamp. Doing this will resize and arrange them into an OutMap whose columns are $outRowMax long:

HOVER to see the effect of running the stamp.
HOVER to see the effect of running the stamp.

Note that after running, the agent self-deactivates (by setting its $AgentPriority to -1) since refreshing an agent destroys the positions and sizes of its contents. To refresh the agent contents (and destroy your layout), change the -1 to the default (1) and then update the agent.