I think I now have it working with 

<$wikify name="attribs" text='<<fieldsvalues>>$context$'>

However I needed to be in the correct tiddler for this to work correctly.

Thanks Anyway
Tony


On Wednesday, 22 August 2018 17:53:13 UTC+10, TonyM wrote:
>
> Folks,
>
> Inside a Macro I want to concatenate two variables, themselves the result 
> of macros
>
> \define mymacro(tiddlername context)
> <$set name=tiddlername value="$tiddlername$" emptyValue=<<currentTiddler>> 
> >
>
> <$wikify name=context text="$context$">
>
> <$tiddler tiddler=<<tiddlername>> >
>
>
>
>     For the The alternatives here please see below?
>
>
> </$tiddler>
> </$wikify>
> </$set>
> \end
>
> Alternatives not working
> <$wikify name="attribs" text="<<macroresult>>$context$" >
> <$wikify name="attribs" text="<<macroresult>><<context>>" >
> <$wikify name="attribs" text="<<macroresult>>$(context)$" >
>
> the 
> <<macroresult>>
> returns a list of fieldname="fieldvalue" pairs, as is also passed in the 
> context parameter.
>
> I am trying to add the two 
> <<macroresult>><<context>>
> together to set the attribs value.
>
> I have some button actions that want to use the attribs value but I cant 
> get it right to start with.
> I only ever get the content of <<macroresult>> or nothing.
>
> Thank 
>
>
>
>
>
>

-- 
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/0ab62f42-5546-4e97-a508-6ae408d00ddd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to