Hello everyone.
I’m looking for a way to write the code to create a tiddler with a series of features using a button. I have it more or less defined, but there’s one thing I can’t get to work.
When creating the tiddler, I want the “text” field to already have some things filled in. Specifically, when the tiddler is created, the body text would show something like: “Note created on June 25, 2025.” But not as a reference to a field, but as something that is added to the tiddler upon creation.
This is the code I’m using:
<$button>
Rapid Note
<$set name="date" value=<<now "DD de MMMM de YYYY">> >
<$action-sendmessage $message="tm-new-tiddler"
title=<<now "RapidNot-YYYY0MM0DD0hh0mm0ss0XXX">>
tags="NRap"
text="""Note created the {{{ [<date>] }}}:
"""
caption=""
icon="$:/core/images/list"
color="blue"/>
</$set>
</$button>
Thanks in advance.