How would you change this: config.macros.helloWorld = { handler: function (place, macroName, params, wikifier, paramString, tiddler) { // this will run when macro is called from a tiddler var who = params[0] || 'world'; wikify('Hello //' + who + '// from the "' + macroName + '" macro in tiddler ' + tiddler.title + '.', place); } };
which spits out "Hello all you TW fans from the "helloWorld" macro in tiddler CallToMacro." in the tiddler when you open it, to whatever you need to have a button in the tiddler that you can click to get the same result? I've been searching for "macro" and "button" but not getting anywhere. Thanks, Dave Parker --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---