Thanks Eric,

Is there a way to introduce $1 containing one or more tags to
include/Exclude to such a script. Without knowing in advance how many
additional tags need to be included/excluded ?

Perhaps two strings eg <<tiddler EricScrips with:"list of,Include,tags"
"list of,Exclude,tags">>
or <<tiddler EricScrips with:"list of,Include,tags" "">>

Thanks Tony

TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed
something.
www.tiddlywiki.com



On Mon, Aug 17, 2009 at 11:34, Eric Shulman <[email protected]> wrote:

> <script>
>   var tids=store.getTiddlers();
>  var match=['.projecttask'];
>  var exclude=['-=inactive','-=closed'];
>   for (var i=0; i<tids.length; i++)
>    if (tids[i].tags.containsAll(match)
>      && !tids[i].tags.containsAny(exclude)
>        store.setTiddlerTag(tids[i].title,true,'selected');
> </script>
>

--~--~---------~--~----~------------~-------~--~----~
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