Hi johnangus... First you could place [tag[Tag1]tag[Tag2]!tag[Tag3]!tag[Tag4]] in a tiddler or a macro
eg; $:/config/tag-filter then reference is as {{$:/config/tag-filter}} as the whole filter or "... {$:/config/tag-filter} ..." within a filter. Alternatively in a tiddler tagged $:/tags/Macro \define tag-filter() [tag[Tag1]tag[Tag2]!tag[Tag3]!tag[Tag4]] then reference is as <<tag-filter>> as the whole filter or "... <tag-filter> ..." within a filter. *However *to make use of these as parameters to the list-links macro make use of the expanded macrocall widget <$macrocall $name=list-links filter=<<tag-filter>>/> or <$macrocall $name=list-links filter= {$:/config/tag-filter}} /> Regards Tones On Monday, 26 July 2021 at 06:16:12 UTC+10 johnangus...@gmail.com wrote: > Hi all, I'm looking for a way to filter tiddlers in a list that only > contain certain tags. > > For example, lets say I want to select only tiddlers with Tag1 and Tag2 an > no other tags. > Tiddler A Tags: Tag1, Tag2, Tag3 > Tiddler B Tags: Tag1, Tag2 > Tiddler C Tags: Tag1, Tag2, Tag4 > > In this limited example I know the filter could be > > <<list-links "[tag[Tag1]tag[Tag2]!tag[Tag3]!tag[Tag4]]">> > > but if new tags are added I would need to return to manually exclude them > with this filter. > > Thanks in advance. > -- 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/99295ca2-a283-4b39-aab5-88ffcdb9e438n%40googlegroups.com.