Wow. This was a hard one. The problem seems to be that $button's setto is unable to process javascript macros. So to solve this requires processing the javascript macro using $Set like this:
\define setbutton() <$button set="Test1!!somefield" setTo="$(setsort)$" >Set</$button> \end \define newone(ttext) <$set name="setsort" value=<<setlowercase "$ttext$">> > <<setbutton>> </$set> \end <<newone "This IS a TeSt">> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

