Hi Mans,
To replace the text of certain tiddlers with multiline content, you
could use the following InlineScript...
<script label="Replace Text Now!">
var t,
tids=store.getTaggedTiddlers('UPDATE'),
txt=store.getTiddlerText('NEWTEXT')||'';
if(!confirm("Really replace the contents of:\n"+
tids.map(function(t){return t.title;})))return;
for(t=0;t<tids.length;t++)
store.saveTiddler(tids[t].title,tids[t].title,txt);
</script>
..whereas TAG would be a tag these tiddlers have and TEMPLATE would be
a tiddler with multiline content.
Good luck, Tobias.
--
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.