The optional init() function of a tiddlywiki macro is automatically invoked by the TW core during the startup process, but after all the plugins have been loaded.
config.macros.MacroName={
     init: function() {
        ...
	// your init code
	...
     },
    handler: function(place, macroName, params, wikifier, paramString, tiddler){
     }
}
bag
tiddlywikidev_public
created
Mon, 24 Jan 2011 08:39:35 GMT
creator
colmbritton
modified
Mon, 24 Jan 2011 12:32:16 GMT
modifier
colmbritton
tags
macro
tiddlywiki
theme
TWDocTheme