I don't know if this will fix your problem (without actually testing) but one of the things that will drive you crazy (or at least me) with TW5 widgets is the inconsistent attributes/parameters.
In this case, you need to call <$macrocall> with attribute "$name", not "name" . Pretty much every time you use (or I use) a widget, I have to double check the syntax at tiddlywiki.com, because it's different for different widgets. For instance, if you had been invoking the "<$set> widget, then the attribute really would have been "name". HTH -- Mark On Saturday, June 30, 2018 at 4:13:19 PM UTC-7, Dave wrote: > > Hi, I'm struggling getting macrocall to work to allow me to use a macro > within a macro > > Here's what I originally wanted to do: > > Given this macro (<<sliderO "*" "hello there">>) > > \define sliderO(label,text) > <$set name=this value=$(currentTiddler)$ > > <$button popup="$:/state/<<this>>$label$" class="btn-invisible tw-slider"> > $label$</$button> > <$reveal type="match" text="" default="" state="$:/state/<<this>>$label$" > animate="yes"> > > $text$ > > </$reveal></$set> > \end > > I wanted to call that macro with the following as the text: > > | ''resisted finger ext'' | <<rorlcheck resfingerext>> | > > > So the content would be revealed with the slider mechanism. The problem > is that you can't have a <<macro>> within a <<different macro>> I assume > because of the "<<>>" repetition > > ---- > > The answer I presume from googling here is to use a macrocall, but for the > life of me I can't seem to get it to work > > I tried setting the content as both a macro and a variable: > > > \define motor2ndorder() > | ''resisted finger ext'' | <<rorlcheck resfingerext>> | > > \end > > <$macrocall name=sliderO label="Motor 2nd Order" text=<<motor2ndorder>>/> > > and > > <$vars text=""" > | ''resisted finger ext'' | <<rorlcheck resfingerext>> | > """></$vars> > > <$macrocall name=sliderO label="Motor 2nd Order" text=<<text>>/> > > but neither of those is working :( > > any suggestions? > -- 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/ceb1b877-482a-4556-a3f0-b26ce245d729%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

