> To invoke a macro that uses the content of a field as a parameter value, 
> you can use the <$macrocall> *widget* syntax rather than the <<macroname>> 
> macro syntax.
>
> For example, if you have a macro named "myMacro" that has two parameters, 
> param1 and param2, and you want to pass a field value as param2, you would 
> write:
>
> <<$macrocall name="myMacro" param1="literal text" param2={{!!fieldname}} />
>
> hope this helps,
>

I've just had a flash five minutes ago and I remembered macrocall. I've 
been trying it and it works!! 
So if anyone has the same problem, here is the answer:

<$macrocall $name="myMacro" param1="literal text" param2={{!!fieldname}} />


Thank you so much Mark and Eric!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a65d54a3-99d1-4086-8ed9-62dcee12d903%40googlegroups.com.

Reply via email to