Hi David,

I'm sure others will suggest a more elegant (and shorter) solution, but 
this is one way you could do that (using the $wikify widget):

\define button()
<$button actions=<<actions>>>
click
</$button>
\end

\define actions()
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> 
text="""[[$(tid)$]]"""/>
\end

<$wikify name=tid text=<<currentTiddler>>>
<<button>>
</$wikify>

Regards,
Hubert

On Monday, 27 January 2020 15:40:50 UTC, David Gifford wrote:
>
> I accidentally had quotes around <<currentTiddler>>. What I should have 
> posted is below. I want to do this, but have the current tiddler title show 
> up as a link: [[name of parent tiddler]]
>
> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> 
> text=<<currentTiddler>> />
>
> On Monday, January 27, 2020 at 9:03:44 AM UTC-6, David Gifford wrote:
>>
>> Okay I am getting excited about my Roam-y adaptation, and this is one of 
>> the last pieces of the puzzle.
>>
>> I did this for a 'new journal here' clone.
>>
>> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> 
>> text="<<currentTiddler>>" />
>>
>> It creates a new tiddler that puts the parent tiddler's title in the text 
>> of the child tiddler.
>>
>> But I would really like that to be a link rather than just plain text. 
>> How could I do that?
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65d1de55-d8be-4e36-9e2f-b79be868c3c2%40googlegroups.com.

Reply via email to