Dave, I am still on this case but your real world example is too much for me. Your original fruits example would be a good one for you (and us) to work on until you find the method.
It is critical when trying to break barriers or solve problems to reduce the complexity and the "cognitive load" of the problem. Step back for a bit, solve the problem then introduce the solution back into the real world. Regards Tony On Tuesday, August 7, 2018 at 11:00:10 AM UTC+10, Dave wrote: > > I'm wondering if the listops "append" might be of use (couldn't get that > to work though) > > I also tried this: > \define myresults() > <$list filter="[all[current]fields[]]" variable="fieldname"> > <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]]" variable= > "dummy" > > <$list filter="[title<fieldname>getindex[origin]]" variable="origin"> > <<origin>> > </$list> > </$list> > </$list> > \end > > !origin > > <$button> > check > <$action-setfield $field="aaa" $value=<<myresults>>/> > </$button> > > <$view field="aaa"/> > > > but it just puts all the "code" from the myresults macro into the field :( > > > > > > > If this were bash, I'd be looking at filtering out carriage returns from > the > <$list filter="[title<fieldname>getindex[origin]]" variable="origin"> > > part, and then going back to the version with > <$action-setfield $field="aaa" $value=<<origin>>/> > > Are carriage returns an issue with TW? They would be represented as the > breaks between the sets of data coming from the data tiddlers... > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/080ebf59-3da7-40ab-aeab-76a93cc50f3b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

