Hi Tony,

Most often, this the action widget itself that needs to be wrapped in a
macro, so that it can reference variables through the $v$ or $(v)$
mecanism, as in:

\define foo2bar()
<$button>
<$action-createtiddler
   $basetitle="$(newtiddler)$"
   tags={{$:/temp/newtemplatetags}}
   text={{$(sourcetiddler)$!!text}} />
</$button>
Copy
\end

<$vars sourcetiddler=foo newtiddler=bar>
<<foo2bar>>
</$vars>

Regards,
Xavier.

-- Xavier Cazin

On Thu, May 3, 2018 at 1:59 PM, TonyM <[email protected]> wrote:

> Folks,
>
> I have a button to create tiddlers while copying the text field from a
> source tiddler.
>
>
>    - I have the source tiddler name in the variable <<sourcetiddlers>>
>    - I have the new tiddler name in the variable <<newtiddlers>>
>
>
> I can not identify how to specify ###here### the value in
> <<sourcetiddlers>> text field.
>
> <$button>
> <$action-createtiddler $basetitle=<<newtiddlers>> 
> tags={{$:/temp/newtemplatetags}}
> text=###here###/>
> Copy </$button>
>
> I have tried set and macros with no luck so far.
>
> Any help would be appreciated.
>
> Regards
> Tony
>
> --
> 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/3fe10a21-6d00-4647-ac0d-94452d64bc16%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/3fe10a21-6d00-4647-ac0d-94452d64bc16%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADeSwYPbzPaTj%3DuRrkqNeXwd0F6U8FAC7_LwyxyT8C1BotkP1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to