> list urgent task tiddlers not inactive or closed > list active projectTask tiddlers not inactive or closed > etc... > This provides a few lists of tiddlers that require attention. > I want to automatically tag each of the tiddlers that come up in each list > say with the tag "selected", ideally this happend when I open the tiddler > "ShowItems".
http://www.TiddlyTools.com/#MatchTagsPlugin extends the core's tag filtering mechanism to permit use of compound boolean "tag expressions" (AND/OR/NOT, with nested parentheses as needed). http://www.TiddlyTools.com/#InlineJavascriptPlugin makes it easy to embed programmed logic to perform actions or generate dynamic output whenever a tiddler is rendered. For your particular use-case, you could use an inline script to retrieve an array of the desired tiddlers via the MatchTagPlugin- enhanced store.filterTiddlers('[tag[...]]') function, and then set the desired tag on each of those tiddlers by applying the core's store.setTiddlerTag(title,flag,tag) function. Something like this: <script> var tids=store.filterTiddlers('[tag[urgent and not (inactive or closed)]]'); for (var t=0; t<tids.length; t++) store.setTiddlerTag(tids [t].title,true,'selected'); </script> enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

