Hi Axelm

> I have 3 tiddlers open (A, B, and C)
> Is it possible to add tags to tiddler D with the names of all open tiddlers?
> So tiddler D would then have the tags A, B, C

In two steps:
1) Save story to a tiddler with http://www.tiddlytools.com/#StorySaverPlugin
2) Save tiddlerlist (storytiddler) as the collected tiddlertitles as
tags to a tiddler with:

<script label="script(B)" title="Tag tiddlers from a list with
doublebracketed listitems">
var tid=prompt("title of the tiddler with the list");
if (!tid) return; /* cancelled by user */
var txt=store.getTiddlerText(tid);
if (!txt) { alert(tid+" not found"); return; }
var titles=txt.readBracketedList();
for (var i=0; i<titles.length; i++) store.setTiddlerTag(titles
[i],true,'TagName');
</script>

http://groups.google.com/group/tiddlywiki/browse_thread/thread/a8922becd1f29938#

Cheers Måns Mårtensson

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