I realized that the task is more difficult. It is necessary not only to 
process it in a loop, but to form a new line with all the tags.
Can TiddlyWiki work with strings? I have not found such examples anywhere.
In another language, I would do this:

t = "[all[]!is[system]]"
<$list filter="[tags[]prefix[$:/]]" variable="TagToDelete">
    t = t + " -[tag[" + <<TagToDelete>> + "]]" 
</$list>

<$list filter= t variable="tidToDelete">
    <$action-deletetiddler $tiddler=<<tidToDelete>>/>
</$list>

среда, 7 июля 2021 г. в 16:59:31 UTC+3, Mike Andyl: 

> Ok, but I can skip and delete something I want anyway. Forget the 
> important tag in a year or two :)
>
> I have a list of tags *[tags[]prefix[$:/]]*
> Can I wrap it like a <list>? Make a button action so it can process in a 
> loop?
> <$action-deletetiddler...
>
> Something like this, but I'm confused about the variables again.
> Why isn't -[tag[<<TagToDelete>>]] working?
>
> <$list filter="[tags[]prefix[$:/]]" variable="TagToDelete">
>   <br><<TagToDelete>><br>
>   <$list filter="[all[]!is[system]] *-[tag[<<TagToDelete>>]]*" 
> variable="tidToDelete">
>     <<tidToDelete>><br>
>   </$list>
> </$list>
>
> среда, 7 июля 2021 г. в 15:23:16 UTC+3, TW Tones: 
>
>> miket,
>>
>> You can remove and add back
>>
>> [all[]!is[system]] [tag[$:/tags/MenuBar]] [tag[$:/tags/SideBar]]
>>
>> Thus above is all tiddlers except system, tiddlers adding back those 
>> tagged  $:/tags/MenuBaror  $:/tags/SideBar
>>
>> Tones
>>
>> On Wednesday, 7 July 2021 at 22:13:59 UTC+10 miket...@gmail.com wrote:
>>
>>> This is understandable, but it requires additional actions. I can forget 
>>> or miss something in a hurry, I cannot do it with someone else's databases 
>>> or an old database, and so on. It's just that we already have the NECESSARY 
>>> attribute - the beginning of the tag with "$:/".
>>>
>>> How can I subtract all such entries from *all[]!is[system]* ?
>>> It sounds very simple, can't filters really do that?
>>>
>>> среда, 7 июля 2021 г. в 11:31:29 UTC+3, TW Tones: 
>>>
>>>> I think  you are somewhat doing this around the wrong way.
>>>>
>>>> Use a filter to list all your non-content tiddlers, eg the tiddler you 
>>>> use in the side bar etc... macros etc...
>>>>
>>>>    - You may use a title prefix, tag or even a field with a value eg; 
>>>>    project=setup then the filter [all[]project[setup]]
>>>>
>>>> Then you can have a filter that lists every tiddler 
>>>> "[all[]!is[system]]" thing that is not in your above filter. eg; 
>>>> "[all[]!is[system]!project[setup]]"
>>>> Both sets of tiddlers can be exported separately and then imported into 
>>>> an empty.html
>>>>
>>>> Regards
>>>> Tones
>>>>
>>>> On Tuesday, 6 July 2021 at 23:58:24 UTC+10 miket...@gmail.com wrote:
>>>>
>>>>> I tried it doesn't fit. Since many records are not related to the 
>>>>> system. It is necessary to do on the tag, I think so. For example, new 
>>>>> buttons with the tag  *$:/tags/SideBar*. This is not a system entry 
>>>>> and it will disappear.
>>>>>
>>>>> вторник, 6 июля 2021 г. в 16:26:36 UTC+3, David Gifford: 
>>>>>
>>>>>> [!is[system]] in the filter tab of Advanced search. But make sure you 
>>>>>> don't have any regular tiddlers that are needed for your template (base).
>>>>>>
>>>>>> On Tuesday, July 6, 2021 at 5:58:04 AM UTC-5 miket...@gmail.com 
>>>>>> wrote:
>>>>>>
>>>>>>> Let's say I set everything up and want to make a new base. I want to 
>>>>>>> remove only information posts, but keep all my own customizations, CSS 
>>>>>>> and 
>>>>>>> plugins.
>>>>>>> Post with similar tags:
>>>>>>> $:/tags/Stylesheet CSS 
>>>>>>> $:/tags/MenuBar
>>>>>>> $:/tags/SideBar
>>>>>>> ...
>>>>>>> etc
>>>>>>>
>>>>>>> Am I thinking right? Or is it possible to clear the base faster?
>>>>>>> And what filter is needed for this?
>>>>>>> [all[tiddlers]] - ??? prefix[$:/]
>>>>>>>
>>>>>>> I want to delete all my content posts, but not touch the "$:/*" tags.
>>>>>>>
>>>>>>

-- 
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/56eee55d-e379-4ad6-9fcb-956b4200aff0n%40googlegroups.com.

Reply via email to