Please look again my experimental macros <http://novye-podarki.ru/empty10_.html#%D0%A6%D0%B2%D0%B5%D1%82%D1%8B%20%D0%BB%D1%8E%D0%B1%D0%B8%D0%BC%D0%BE%D0%B9> I make 2 same variants (work\ don't work) for the first variant "states" are ready for second not. I want "check all" button not to look for existing states and change their "text", but create them new by mask <$action-setfield $tiddler='$:/temp/state/filpar/$name$/$(TestVariable)$' text='unchecked'/> . is it possible?
вторник, 19 января 2016 г., 18:23:41 UTC+3 пользователь Matabele написал: > > Hi sini-Kit > > Had a look at your experimental wiki -- you 'check all' and 'uncheck all' > buttons seem to work. I can't work out what problem you are trying to solve. > > regards > > On Tuesday, 19 January 2016 16:56:56 UTC+2, sini-Kit wrote: >> >> Thank you Matabele! Last variant is the best. I put it to my experiment >> macros >> <http://novye-podarki.ru/empty10_.html#%D0%A6%D0%B2%D0%B5%D1%82%D1%8B%20%D0%BB%D1%8E%D0%B1%D0%B8%D0%BC%D0%BE%D0%B9> >> but >> I don' know how to solve last problem. >> >> I make a list of checkboxes, and try to uncheck them all by one button. >> >> <$button class='tc-btn-invisible' > <input type="checkbox" >> checked="true"> >> <$list filter='[tag[$:/Note]has[$name$]]' variable="add"> >> <$action-listops $tiddler="$:/temp/_HideStoryList" $field="list" >> $subfilter="[<add>]"/> >> </$list> >> <$list filter='[prefix[$:/state/someuniquenameforthisstuff]]'> >> <$fieldmangler tiddler=<<currentTiddler>>> >> <$action-setfield $tiddler=<<currentTiddler>> text='checked'/> >> </$fieldmangler> >> </$list> >> </$button> - uncheck all >> >> but it work only if all >> $:/state/someuniquenameforthisstuff$(TestVariable)$ are ready. but all of >> the will be created only if I check all my checkboxes. And it is not good. >> Is it possible not to do <$list >> filter='[prefix[$:/state/someuniquenameforthisstuff]]'> but create all >> $:/state/someuniquenameforthisstuff$(TestVariable)$ with text "unchecked"? >> > -- 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/5bd1979f-7569-4e30-a0cf-94f4c333cf0c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

