How to create many tiddlers?

I want to create some tiddlers, I have some names ready, but how to create them now? I tried the following code but it failed.

<$set name="myList" value="first [[second with a space]] third">
<$button>
<$action-sendmessage $message="tm-new-tiddler" title={{{ [enlist<myList>] }}} tags="OneTag [[Another Tag]]" text=<<now "Today is DDth, MMM YYYY">>/>
New Tiddler
</$button>
</$set>

You need to invoke a separate tm-new-tiddler message for each title you want to create, like this:

<$set name="myList" value="first [[second with a space]] third">
<$button>
<$list filter="[enlist<myList>]" variable="thisTitle">
<$action-sendmessage $message="tm-new-tiddler" title=<<thisTitle>> tags="OneTag [[Another Tag]]" text=<<now "Today is DDth, MMM YYYY">>/>
</$list>
New Tiddlers
</$button>
</$set>
2 Likes

thanks too much ! you are so kindful.

@dongrentianyu you may find this useful: https://newtids.tiddlyspot.com/

Basically, you type the following macrocall with the titles. Then in viewmode, you click a title to silently convert it into a tiddler:

<<newtids "
foo
bar bar
Baz is really cool!
frotz
">>
1 Like