Hi Merv Here’s an example how I use action listops for something similar:
I use the same button to add and remove tags by either specifying the tag in the attribute "add" or in "remove". In a $set widget I define a variable called "subfilter" that puts double brackets around the tag to add/remove. \define teBtnTagAddRemove(btntext,add:"_false_",remove:"_false_",class:"",tiddler:"_false_") <$vars tiddler="""$tiddler$""" btnclass="te-popup-action $class$" add="""$add$""" remove="""$remove$"""> <$set name="actiontid" filter="[<tiddler>!prefix[_false_]]" value=<<tiddler>> emptyValue=<<currentTiddler>>> <$set name="subfilter" filter="[<add>!prefix[_false_]]" value="[[$add$]]" emptyValue="-[[$remove$]]"> <$wikify name="at" text=<<actiontid>>> <$button class=<<btnclass>>> <$action-listops $tiddler=<<at>> $field="tags" $subfilter=<<subfilter>>/> <$text text="""$btntext$"""> </$button> </$wikify> </$set> </$set> </$vars> \end I have removed some additional complexity not relevant for your case, I hope you get the main part. Maybe this helps. Cheers, Thomas -- 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/087164bf-b87d-4634-ba13-963ade2f5834%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

