Hi Mark

As you’ve discovered, this doesn’t work:

<<textMaker {{!!myField}}>>

Instead, you can use the <$macrocall> widget to invoke the macro. For example:

<$macrocall $name=“textMaker” myParam={{!!myField}}/>

Widgets are the fundamental unit of functionality in TiddlyWiki; all the other 
wikitext syntax is just shortcuts for creating widgets.

But, as discussed before, one can’t use that syntax as an attribute value.

Best wishes

Jeremy

> On 4 Oct 2015, at 06:11, 'Mark S.' via TiddlyWiki 
> <[email protected]> wrote:
> 
> Hi Jeremy,
> 
> But, at the bottom line, is there any way to set up Tobias' solution without 
> resorting to <$set> (or <$var>) ?
> 
> Thanks!
> Mark
> 
> 
> On Saturday, October 3, 2015 at 3:31:53 PM UTC-7, Jeremy Ruston wrote:
> Hi Mark
> 
>> 3) You can use a macro inside a widget IF it doesn't have a parameter
> 
> That is not correct. Macro invocations used as widget attributes may have 
> parameters.
> 
> However, there are a couple of points to watch:
> 
> * The output of the macro is not wikified; it is used directly as the value 
> of the attribute
> * The double angle brackets widget call syntax only allows parameters to be 
> specified as strings
> 
> 
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/tiddlywiki 
> <http://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/f0604d54-69de-403a-a749-1c64e66b2279%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/f0604d54-69de-403a-a749-1c64e66b2279%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/08962A54-7F6A-4B68-B08B-4A46F2F1DF53%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to