Right. Final report. I worked out the syntax error & passing the tiddler name into the macro is perfectly adequate.
BUT, note to others, the example code in the OLD wiki (How to write a macro), which uses "tiddler.getTiddlerText" doesn't work, 'cos there is no such function. When we update the FAQ in the new TWSpace format we need to use the "store.getTiddlerText" method. whatever, I ended up not trying your solution, but I can see myself getting back to it. Thanks all On Saturday, 23 June 2012 22:18:32 UTC+10, tejjyid wrote: > > Ahhh - well, I am using TiddlySpace - thx. > > So I thought instead I'd just use the "myTiddlerName" as the parameter and > then use the getTiddlerText inside the macro. > Now I'm getting TypeError tiddler.fields is undefined whenever I execute > the macro. > > Anyway, I'll keep playing around, all this trial-and-error is very e > ducational > > Andrew > > On Saturday, 23 June 2012 18:45:44 UTC+10, PMario wrote: >> >> Hi Andrew, >> I'm not sure, if you use TiddlySpace or not. but ... >> Evaluated macro parameters are deactivated by default with >> TiddlySpace, due to security concerns. >> -m > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/zzI5mG223aIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

