> I have a list of tiddlernames (with no common tag or fieldname) which
> I would like to be able to interact with - how do I do that?
> I have lists with tiddlertitles - and I would like to toggle tags or
> fieldnames/values on the tiddlers which they refer to.

Let's start with a white-space separated tiddler titles, with [[...]]
brackets used as needed around titles that contain spaces, stored in a
tiddler named [[SomeList]].  Then, you can use an inline script to
iterate over the list of titles and set (or clear) any given 'tagName'
on those tiddlers, like this:

<script>
   var titles=store.getTiddlerText("SomeList").readBracketedList();
   for (var i=0; i<titles.length; i++)
      store.setTiddlerTag(titles[i],'tagName',true); // true=set,
false=clear
</script>

To set the value of a custom fieldname instead of a tag, use:
      store.setValue(titles[i],'fieldname','...value goes here...');

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

Reply via email to