Hello S.S.
Many thanks for your comments. I absolutely will use them. Also I made a 
link to the valuable tutorial (manual) you prepared for Tiddlywiki at

https://00ss.github.io/help/Adding-a-table-of-contents-to-the-sidebar.html


By the way, In TW-Scripts I go through examples. I call it "learn by 
example". Here I want to have a section with some tiddlers explaining the 
batch operation in TW.
So, the table you have given below is quite useful for my case. I am trying 
to explain what kind of criteria we can have and what kind of batch 
operation we can do!

Thank you again.
Mohammad



On Tuesday, January 22, 2019 at 1:18:11 PM UTC+3:30, S. S. wrote:
>
> I am assuming you are looking for ideas on how to do a help presentation 
> tiddler.
>
> The way I use the logic is:
>
> <$list filter="criteria-fitler">
>   <$macrocall action
> </$list>
>
> Messages list a tiddlywiki.com <https://tiddlywiki.com/#Messages>
> \define action such as:
> <$button
>   <$action-sendmessage $message=  
>   Press Button
> </$button
>
> For what you are proposing, you could display different filters. 
> Maybe in a table, left column : Criteria & right column : Filter
>
> Example: Make a list of *Normal Tiddlers* (not System or Shadows) to 
> perform actions on:
>
> Criteria
> Filter
> A tag: myTag : filter="[tag[myTag]]"
> Has both a tag for BOTH audio AND video : filter="[tag[audio]tag[video]]"
> Has a tag for EITHER audio OR video : filter="[tag[audio]] [tag[video]]"
> A title starting with: Word : filter="[all[tiddlers]prefix[Word: ]]"
> An empty text field : filter="[all[tiddlers]!has[text]]"
> Does not have a modified field: filter="[all[tiddlers]!has[modified]]"
> Has a field called: author , but that field is NOT empty : 
> filter="[all[tiddlers]has:field[author]]"
> Has a field called: author , but that field is empty : 
> filter="[all[tiddlers]has:field[author]!has[author]]"etc.
>
> Next, make a list of common actions that are performed. Common action 
> messages perhaps:
>
>   tm-add-field , tm-add-tag , tm-delete-tiddler , tm-new-tiddler ,  tm-
> remove-field , tm-remove-tag 
>
> Then comes the harder part - trying to explain the *$action-sendmessage* 
> part.
> <$action-sendmessage $message="tm-new-tiddler" title="New $title$ Tiddler" 
> tags="$input$ $ExtraTags$" $param="$:/_/template/$template$"/>
>
>
>

-- 
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/7edd264f-69a0-4148-951e-8dc7851d125c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to