Hello twexperts ! I have a tiddler "fooTimeLine" with a field "dueto" containing a date in tw format. I then want to create a button that is associated to the creation of a new tiddler having as fields: 1) "dueto" with the value in "fooTimeLine" and 2) "end" with the value corresponding to the day after those of "dueto"
My problem is with point 2). I use the nice dateTime macro ($:/macros/skeeve/dateTime.js at http://tiddlystuff.tiddlyspot.com) but I do not know how to resolve the different macro evaluations: \define nextDay(day) <$macrocall $name="dateTime" ts=$day$ format="YYYY0MM0DD0000000" add="+1D"/> \end dateTime <$set name="end" value=<<nextDay {{fooTimeLine!!dueto}}>>> <$button> <$x-maketid $title={{fooTimeLine!!appointmentName}} tags="Date" text="a few comments" dueto={{fooTimeLine!!dueto}} end=<<end>>/> Create </$button> </$set> which does not work due to the fact macro consists in simple substitution. I am ok with why it does not work but I do not know how to tackle the problem without rewritting a dedicated macro and I thus request your help : Can we deal with nested macro calls and how ? -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0c39d376-be27-4ddc-99b6-c53f5682db8a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

