In TW-Scripts I have created a solution inspired by the great work by Mario 
as below

\define deleteButton()
<$button>
{{$:/core/images/delete-button}}
<$action-deletetiddler $tiddler=<<currentTiddler>>/>
</$button> - <$link to=<<currentTiddler>> ><$text text=<<currentTiddler>> 
/></$link>
\end

!! Remove temporary tiddlers
Temporary tiddlers are `$:/temp` and `$:/state` and its good to be removed time 
by time to free occupied spaces.

<<<
Select tiddlers <$select field='status' tooltip='Choose a new site title'>
<option>[prefix[$:/temp/]]</option>
<option>[prefix[$:/state/]]</option>
</$select>

<$button>
<$action-deletetiddler $filter="[subfilter{!!status}]" />
Delete all: <b><$text text={{!!status}} /></b> tiddlers
</$button>

<$list filter="[subfilter{!!status}]">
<<deleteButton>><br>
</$list>
<<<



Please let me know what other tiddlers should be included.

Nevertheless it should be mentioned that the Tiddler Commander has great 
facilities to do these kind of stuffs quite easily and efficiently.

--Mohammad


On Friday, July 12, 2019 at 8:50:51 AM UTC+4:30, Mohammad wrote:
>
> In Android you have apps or button to remove all junks, close unused apps, 
> empty caches and like that!
>
> What do you think if we have a button in TW control pannel to do like that 
> i.e
>
> - remove $:/temp
> - remove $:/state
> - remove (may be some other things ...)
>
>
> to refresh TW.
>
>
> Some ready tools
> - https://wikilabs.github.io/editions/remove-states/   by Mario
>
>
> --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/6c0b57b0-70cb-4081-8c18-41cc9241679b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to