Stefano, I think the action-listops widget ( https://tiddlywiki.com/#ActionListopsWidget) will help you. It can be used to manipulate any tiddler field which is used as a list. The tags field is used as a list so it should be able to help.
For performing the operation on multiple tiddlers, you would need to put the action-listops inside a list widget (since it only operates on a single tiddler). I found the documentation a little confusing. Maybe this will help you: - Use the $filter attribute to replace the field contents with the result of $filter - Use the $subfilter attribute to transform the current field contents - Use the $tags attribute as shorthand for $subfilter + $field=tags Here is a real world example using this widget: https://github.com/btheado/tw-ftlist/blob/master/src/plugins/btheado/ftlist/action-macros.tid I've seen some responses recommending the use of tm-add-tag widget message. I'm not really sure in what cases tm-add-tag is better than action-listops or vice versa. Brian On Sun, Feb 17, 2019 at 4:40 PM stefano franchi <[email protected]> wrote: > Hi Lazlo, > > I was indeed looking at the Commander code, but I am still such a newbie > with TW that I don't know how to use it. In particular, this bit seems to > be all I need: > > \define add-new-tag-bulk(newTag) > <$list filter={{$:/temp/commander}}> > <$fieldmangler> > <$action-sendmessage $message="tm-add-tag" $param=<<__newTag__>> /> > </$fieldmangler> > </$list> > \end > > Not completely sure how it works yet, but working on it... > > > Cheers, > > S. > > > On Sun, Feb 17, 2019 at 3:22 PM bimlas <[email protected]> wrote: > >> Stefano, >> >> TW-Commander worth a try as well: https://github.com/kookma/TW-Commander >> >> -- >> 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 post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/tiddlywiki. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/360fac05-f3c4-4151-8af8-077841eb77a0%40googlegroups.com >> <https://groups.google.com/d/msgid/tiddlywiki/360fac05-f3c4-4151-8af8-077841eb77a0%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > __________________________________________________ > Stefano Franchi > > [email protected] <[email protected]> > http://stefano.cleinias.org > > -- > 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 post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/CAJODLwYMtK3xGz9AUMQb7X-MvWFX6Rjr8r4MjfZnmgELHoeXwQ%40mail.gmail.com > <https://groups.google.com/d/msgid/tiddlywiki/CAJODLwYMtK3xGz9AUMQb7X-MvWFX6Rjr8r4MjfZnmgELHoeXwQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAO5X8CwdPkeW02SF89ebLL%3DAdzbcaL8RCG%2BFGNpxyLX2_g_F9g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

