Hi Matthew,
just remove the '$tiddler=.." and it will default to the value of 
<<currentTiddler>>

all the best

BJ
On Sunday, March 20, 2016 at 12:58:36 PM UTC, Matthew Petty wrote:
>
> I want to create a button to append a short phrase to the text of the 
> current tiddler. I've been playing with the example below, but how to I 
> make it refer to the current tiddler, and not a specific one?
>
>
>
> \define thisAction()
> <$action-setfield $tiddler=HelloThere text=
> """$(HelloThereText)$$(LearningText)$"""/>
> \end
>
> <$set name=HelloThereText value={{HelloThere}}>
> <$set name=LearningText value={{Learning}}>
> <$button>Test
> <<thisAction>>
> </$button>
> </$set>
> </$set>
>
>
>

-- 
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/078358c8-bf83-4be3-8170-e3e163ac2d8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to