On Monday, January 27, 2020 at 8:13:07 AM UTC-8, Hubert wrote:
>
> I'm sure others will suggest a more elegant (and shorter) solution...
>

No need to use $wikify.  Since <<currentTiddler>> is already defined as a 
variable, you can use $(currentTiddler)$ inside the macro, like this: 

\define journalButton()
<$button> click
   <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> 
text="""[[$(currentTiddler)$]]"""/>
</$button>
\end

<<journalButton>>

enjoy,
-e

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/448c0691-74fe-42cf-a338-0f3f535ea6f8%40googlegroups.com.

Reply via email to