Ok, just want to report that in the end I used a combo of a few
suggestions above.
Mr.Shulman and cmari - it would not have been possible without your
generous help. Thank you!!!
Thus;
In a tiddler I first have a few of these (to set various combinations
of what should be encrypted with what);
I really appreciate everyones help! I'm fooling around with all the
great suggestions and will report how it works out.
- Meanwhile; how do I insert a tag directly (via forEachPlugin)? What
is the command? (and without erasing all existing tags but if
there's an option to overwrite a
Maybe I should clarify that a little. Here's what I'm attempting;
forEachTiddler
where
'tiddler.tags.containsAll([foo])'
write
'tiddler.tags.XXX(bar)'
XXX is 'supposed to' be some magic word resulting in adding 'bar' as a
tag to all the relevant tiddlers.
(I
forEachTiddler
where
'tiddler.tags.containsAll([foo])'
write
'tiddler.tags.XXX(bar)'
XXX is 'supposed to' be some magic word resulting in adding 'bar' as a
tag to all the relevant tiddlers.
Try this:
store.setTiddlerTag(tiddler.title,true,bar)
The three
OK, try this, which should give you a checkbox that will add the tag
foobar to any tiddler already tagged with both foo and bar:
forEachTiddler where 'tiddler.tags.containsAll([foo, bar])'
write '|checkbox [[+tiddler.title+|foobar]] [[]] [[]] [[]]
Ah! Thank you, I thought it was more complex than it was. How elegant.
However, the type of tag a tiddler is supposed to get depends on *two*
tags - i.e tiddlers that are tagged both with 'Private' and either of
MyStuff, HerStuff or OurStuff. Renaming it one at a time would not
work as.
In a
Hi Mat!
It sounds to me as though you're looking for two separate, though
related, things (but possibly more!):
1. (Retroactively) add tags to existing tiddlers.
2. From now on, automatically add certain tags when creating new
tiddlers
If you'd prefer (manual) checkboxes to the more automatic
7 matches
Mail list logo