I tried around a bit and the best result I get does insert a 'bar'
tag !  :-D
But, it also leaves an "undefined" in the tiddler where the script is.
The script reads;

<<forEachTiddler
        where
        'tiddler.tags.containsAll(["foo"])'
        write
        'store.setTiddlerTag(tiddler.title,true,"bar")'
>>

Is this something I 'undefined' something I should care about? It is
not a big deal aesthetically, I'm just worried it is not good for some
other reason.

Almost there :-)

/Mat


On Jan 19, 12:08 am, Eric Shulman <[email protected]> wrote:
> > <<forEachTiddler
> >         where
> >         'tiddler.tags.containsAll(["foo"])'
> >         write
> >         'tiddler.tags.XXX("bar")'
> > XXX is 'supposed to' be some magic word resulting in adding 'bar' as a
> > tag to all the relevant tiddlers.
>
> Try this:
>    store.setTiddlerTag(tiddler.title,true,"bar")
>
> The three function parameters are:
>  * title of tiddler
>  * true=set tag, false=clear tag
>  * tag value
>
> enjoy,
> -e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to