On Tuesday, January 7, 2020 at 8:20:58 AM UTC-8, Chuck R. wrote:
>
> My system: TW5.1.19 on Tiddlyspot.com using Google Chrome browser. 
>
> I am in the process of splitting one TW5 file into 2 files, so I copied 
> the file to another spot on Tiddlyspot. So now I'm deleting, from the new 
> TW5 file, the tiddlers I no longer need. However I must have 60-70 tiddlers 
> left to delete. Is there a way to list all tiddlers and check a box next to 
> the ones I want to delete? 
>

This will do it:

<$list filter="[all[tiddlers]]">
   <$checkbox field="selected" checked="true" unchecked="false">
      <$link /><br>
   </$checkbox>
</$list>
<$button> delete selected tiddlers
   <$list filter="[all[tiddlers]selected[true]]">
      <$action-deletetiddler $tiddler=<<currentTiddler>> />
   </$list>
   <$list filter="[all[tiddlers]selected[false]]">
      <$action-deletefield $tiddler=<<currentTiddler>> $field="selected" />
   </$list>
</$button>


notes:
* the first filter lists all tiddlers, and shows a checkbox for each
* the checkbox adds a field to the listed tiddler: selected=true/false
* the button invokes $action-deletetiddler for each tiddler that has field 
selected="true"
* the button also invokes $action-deletefield for each tiddler that has 
field selected="false"
* this is in case you selected a tiddler and then changed your mind and 
deselected it

-e

-- 
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/5fbc9d10-31a4-47b8-b32f-bdaceacc6b32%40googlegroups.com.

Reply via email to