Scene; Tiddlers have either the tag MyStuff or HerStuff or OurStuff
If I add a tag 'Private'...
...whether I do this directly manually or via the smooth command [_
(<tiddler.title>|Private)] (sorry, can't recall the name of this macro
(?) )...
...to a tiddler tagged 'MyStuff' then I would like this to induce
another tag; specifically 'Encrypt(foo)' (Note; the Encrypt(x) is a
'tag-format' used in Mr. Pearces TiddlerEncryptionPlugin[1])
...BUT if the tiddler is instead tagged 'HerStuff' is should induce
Encrypt(bar)
and if the tiddler is tagged OurStuff it should induce Encrypt(foobar)
In the archives, I found this (from Mr.Shulman) but I don't know how
to adapt it;
<script>
var tids=store.getTaggedTiddlers("MyStuff");
for (var t=0; t<tids.length; t++) {
store.setValue(tids[t].tags,"field","myfieldvalue");
}
</script>
Ideally e.g Encrypt(bar) should be visible right away after I insert
the tag Private, but it must at least be automatically (and correctly)
tagged e.g on startup tagging the above-to-be script with
systemConfig.
Thank you
/Mat
[1] http://www.Remotely-Helpful.com/TiddlyWiki/TiddlerEncryptionPlugin.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---