This might be using a cannon to swat a gnat, but if you have Eric's
CheckboxPlugin (www.tiddlytools.com), you can do all kinds of nifty
things with a checkbox. You can put the checkbox macro into a
ViewTemplate or in the tiddler itself.
You can use if/else combinations.
You can set and remove tags (0= remove, 1=set), as in:
<<checkbox [[]] [[]] [[]] [[]] [[{if
(tiddler.tags.containsAll(['Complete','Test Tag'])&&!
tiddler.tags.contains('tag 2')) {store.setTiddlerTag(tiddler.title,
0,'Complete'); store.setTiddlerTag(tiddler.title,1,'Next'); } else if
(!tiddler.tags.containsAny(['Complete','tag 2']))
{store.setTiddlerTag(tiddler.title,1,'Complete');
store.setTiddlerTag(tiddler.title,0,'Next');}}]]>>
cmari
On Feb 18, 8:12 am, Måns <[email protected]> wrote:
> Hi Tony
> I use Eric's TiddlerTweaker to perform similar actions. You don't need
> to install it. It's available as an instant bookmarklet.
> Visit TiddlyTools.com
>
> Regards Måns Mårtensson
>
> On 17 Feb., 04:52, Anthony Muscio <[email protected]> wrote:
>
> > Folks,
>
> > Can anyone tell me how I can find/make a macro to remove more than one
> > tag of the current tiddler, with one click ?
>
> > eg;
>
> > Remove tag1 tag2 [[tag 3]] if the current tiddler is tagged "tag1 tag2
> > [[tag 3]]|" if not no change occurs.
>
> > Ideally I would like to be able to add a tag at the same time, one
> > click !
>
> > Add TagA remove tagb and [[tag C]]
>
> > Related
> > posthttp://mail.google.com/mail/?shva=1#label/Tiddlywiki/126b71c848a1c69d
>
> > Thanks in advance - Tony
--
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.