> I think that there's no way to use this type of script:
> <script>
> var one=store.getValue(tiddler,"w...@weight")
> return one
> </script>

The "fi...@tiddlername" syntax is NOT part of the TW core.  It is an
extension that I have added to WikifyPlugin (and a few other plugins)
to allow access to fields in tiddlers other than the current one.

However, the TW core's store.getValue() and store.setValue() functions
DO work with ANY tiddler, not just the current one.  Simply specify
the desired tiddler *title* as the first parameter, like this:

   var val=store.getValue("TiddlerTitle","fieldname");
   store.setValue("TiddlerTitle","fieldname",val);

Note: the first parameter can be either a tiddler title (as a text
variable or quoted literal value), or a tiddler OBJECT from the TW
store, such as a reference to the globally-defined 'current tiddler'
variable, "tiddler", that you have used in your attempt.

enjoy,
-e




-- 
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