Tcl macros and merge tags

On startup, Aurea List Manager loads the functions provided by specific Tcl files in the tclweb\lib\lm\ directory on Windows, tclweb/lib/lm/ on Linux into memory.

These files provide some of the Tcl macros and merge tags used by the mail merge functionality of Aurea List Manager and are overwritten during upgrades.

Users can to add a file called tclCustom.tcl, which is also sourced on ListManager startup (if it exists), which is provided as a repository for user-defined custom Tcl code.

The tclCustom.tcl file persists between upgrades, so it is the ideal location for self-developed custom Tcl code for use in the merge process, or custom complaint handler or autoresponder code. By adding a snippet of code, e.g.

proc lyrisname {} {
return "LYRIS"}

A new merge tag %%lyrisname%% is created after Aurea List Manager is restarted.