Mohammad, My Previous contribution to the scripts is in fact a demo of the first of a set of possible batch manipulation examples.
Here are a few more that illustrate the examples you are looking for, it is simply a matter of changing the selection filter and the action widget. Som action widgets have the $filter parameter, others do not and you need a list. <$list filter="[has[dummy]]"></$list> <$button> <$action-deletetiddler $filter="[tag[dummy]]"/> Delete Tiddlers tagged </$button> <$list filter="[has[dummy]]"></$list> <$button> <$list filter="[has[dummy]]"> <$action-deletefield $field="dummy"/> </$list> Delete Field in tiddler </$button> <$button> <$action-deletetiddler $filter="[has[dummy]]"/> Delete Tiddlers with field </$button> Whilst this shows the code if we were to package it for new users, not people learning tiddlywiki, we would always ensure we list what the button will effect. Make a macro and enable the filter to be passed (not hard coded). It would be quite easy to make a large set of these and make them available for almost every conceivable batch action, however if we are to go down this path we should decide exactly what we will provide so we can do it consistently and not face rework later. Regards Tony On Tuesday, 22 January 2019 17:39:23 UTC+11, Mohammad wrote: > > One question frequently raised by newbies is batch operation e.g how to > tag all tiddlers have certain title, ... > > I am preparing a section in TW-Scripts > <https://kookma.github.io/TW-Scripts/> called Batch Operation > Batch operation means do operation on all tiddlers meet certain criteria. > > *Certain criteria means like below* > > > - all have special tag > - all have certain field > - all have certain words in their title > - ... > > Operation means > > - Delete all tiddlers meet certain criteria > - Delete a certain field from all tiddlers tagged e.g. myTag > - Add a new tag to all tiddler has certain words in their title > - ... > > please help to complete this section. Give your idea on batch operation, > and certain criteria can be done with TW > > How do you like to arrange different parts in this section? > > --Mohammad > -- 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/e9e8fbcd-5bc3-4681-be21-7b0caa21b527%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

