Hi Antaeus

> Jeremy, could I please get your answer to my question?  

I would have expected Tobias’s solution to work. Does it work for you?

> What is the right way to create a button that will read a value from a field, 
> use that value as input to a macro to reach a new value, and then write that 
> value back to the same field?

Only simple logic can be expressed in wikitext, so it would be reasonable to 
create a JS macro for more complex logic. You can also write widgets but that 
generally only makes sense if you want to create dom elements, trap events, or 
interact with the refresh process.

Best wishes

Jeremy

> I'm starting to get a bit discouraged that such a simple goal seems so 
> difficult to achieve.
> Am I just taking the completely wrong approach?  Is there a different way, 
> other than macros, to do calculations in JavaScript on data stored in 
> tiddlers?  If so, where is it documented?



> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/1a5c17b5-129a-410a-911f-ce0651b5e362%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/28B82BAC-87F1-45EC-B660-FC907A213531%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to