Hi Zans
> Is there a way to make the process automated, though?
> > > I'm using the ForEachTiddler plugin and I want it to Remove a tag from 
> > > all tiddlers matching certain criteria.
I'm not sure what You mean by "matching certain criteria" - however
there are several ways to remove a tag from several tiddlers at once.
#1
RenametagsPlugin http://mptw.tiddlyspot.com/#RenameTagsPlugin - If you
delete the tagname tiddler you will be asked if You want to remove the
tag from all tiddlers tagged with the tagname.
#2
You can use a script to remove a tag from all tiddlers tagged with
that tag:

<script label="Remove the tag SomeTagName from all tiddlers tagged
with SomeTagName">
var tag="SomeTagName";
var tids=store.getTaggedTiddlers(tag);
store.suspendNotifications();
for (var i=0; i<tids.length; i++) { var t=tids[i];
store.setTiddlerTag(t.title,false,tag);
   store.saveTiddler
(t.title,t.title,t.text,t.modifier,t.modified,t.tags,t.fields);
}
store.resumeNotifications();
</script>
#3
I'm sure someone with magic insight (javascript programming) can
deliver a script which can choose all tiddlers tagged with SomeTagName
and remove AnotherTagName from all tiddlers tagged with SomeTagName -
however I'm no TwWizard... just TwSorcerer's apprentice ;-)

Regards 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