Does this work if you want to add [[newTag from code]]? Or if the tiddlers already have a tag with space in the title?
Best wishes Mohammad On Sat, Jun 5, 2021 at 10:01 AM Charlie Veniot <cj.ven...@gmail.com> wrote: > G'day, > > I'm refactoring the design on a TiddlyWiki project, and wanted to apply > tag changes to batches of tiddlers. > > In case of any interest, here's the related code pattern: > > \define doIt() > <$list variable="thisTiddler" filter="[tag[A]]"> > <$action-setfield $tiddler=<<thisTiddler>> $field="tags" $value={{{ > [<thisTiddler>tags[]] [[mot]] +[join[ ]] }}}/> > </$list> > \end > > <$button actions=<<doIt>>> > Tag Em > </$button> > > Cheers ! > > -- > 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/9b84cbd5-ce87-4611-a180-4dccaf611061n%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/9b84cbd5-ce87-4611-a180-4dccaf611061n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAAV1gMCuXoAcbGyCdGkMVzgeAp2c7DC-w7prWuTcwvihKbnxng%40mail.gmail.com.