tcl Macros and Merge Tags

 

On startup, ListManager loads the functions provided by specific Tcl files in the tclweb\lib\lm\ directory (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 ListManager. These files are overwritten during upgrades. Users have the ability 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 will persist between upgrades, so it is the ideal location for self-developed custom Tcl code for use in the merge process, or for custom complaint handler or autoresponder code. By adding a snippet of code, e.g.

 

proc lyrisname {} {

return "LYRIS" }

 

a new merge tag %%lyrisname%% will come into existence (after ListManager is restarted).