On Saturday, November 7, 2015 at 10:43:28 PM UTC-8, Dave wrote: > > I want to be able to do something like this in a macro: > <<races event:"$(currentTiddler)$-<<now YYYY-0MM-0DD>>">> > ...in order to have the macro variable $event$ (or is that called a > parameter?) to be equal to the current tiddler + the date/time right now, > like "test tiddler - 2015-11-07" > I tried the above and the value for $event$ reverts to its default. > I also tried $(now)$ but that didn't work either. I know in TWC something > like that would work if you used "\" in front of each ">" inside the outer > ones, but that doesn't work either. >
The $macrocall widget allows you to use other macros to specify the parameter values. Try this: \define event(what,when) <<races event:"$what$ - $when$">> <$macrocall $name="event" what=<<currentTiddler>> when=<<now YYYY-0MM-0DD >>/> enjoy, -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8bcdc43d-ac3a-42e8-9871-a154f4928581%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

