I fiddled with what I understood you wanted and came up with this:
http://lastfm.tiddlyspot.com/#cycleTagsInfo

Hope that does it.


On 28 Aug., 18:48, Mel Grubb <[email protected]> wrote:
> Can you think of a way to do this without checkboxes? I was trying to
> create plain text "promote" and "demote" links to move things around.
> Perhaps the text of the links could even be used to embed simple
> graphics, but that's not the immediate concern. Essentially, all I
> need is a link that can apply a set of links to a named tiddler.
>
> Of course, what I'd really like would be a macro similar to this:
> <<setTags tiddler:tiddlerName text:"promote" tags:"-
> assigned,completed">>
>
> This would insert a link that would remove the "assigned" tag if
> present, and add the "completed" tag if *not* present. Any other tags
> would be left as is. Perhaps an option such as "!tagName" could toggle
> the named tag.
> This one macro would open up a whole world of simple customizations.
> I'd like to write it myself, but I haven't even begun to look into
> custom macro creation and/or the TW programming model.
>
> On Aug 27, 10:16 pm, cmari <[email protected]> wrote:
>
> > Or, you could take advantage of the onClickAfter powers of the
> > CheckboxPlugin (http://www.tiddlytools.com/##CheckboxPlugin).  For
> > example, if you also have the HideWhenPlugin (http://
> > mptw.tiddlyspot.com/#HideWhenPlugin), you could put something like
> > this in your ViewTemplate:
>
> > <span macro="showWhenTagged 'queued'">change the tag to assigned:
> > <span macro="checkbox [[]] [[]] [[]] [[]] [[{var
> > t=story.findContainingTiddler(place).getAttribute('tiddler');
> > store.setTiddlerTag(t,0,'queued'); store.setTiddlerTag(t,
> > 1,'assigned');}]]"></span></span>
> > <span macro="showWhenTagged 'assigned'">change the tag to completed:
> > <span macro="checkbox [[]] [[]] [[]] [[]] [[{var
> > t=story.findContainingTiddler(place).getAttribute('tiddler');
> > store.setTiddlerTag(t,0,'assigned'); store.setTiddlerTag(t,
> > 1,'completed');}]]"></span></span>
> > <span macro="showWhenTagged 'completed'">change the tag to archived:
> > <span macro="checkbox [[]] [[]] [[]] [[]] [[{var
> > t=story.findContainingTiddler(place).getAttribute('tiddler');
> > store.setTiddlerTag(t,0,'completed'); store.setTiddlerTag(t,
> > 1,'archived');}]]"></span></span>
>
> > cmari
>
>
--~--~---------~--~----~------------~-------~--~----~
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