Bimlas, How I understand it
Since many changes in tiddlywiki result in a need to update all relevant tiddlers (using the widget tree) there are few if any ways to make something happen without a trigger. If there were it may be possible to trigger triggers and end up with endless loops etc... For this reason you need to trigger such actions. This is not as problematic as it would first seem, because inside a trigger such as a button, you can perform a lot of actions, including setting multiple values across multiple tiddlers by means such as placing a list widget inside the button. You can also leverage the navigation mechanisium or existing buttons such as close to perform / trigger an action on a tiddler, as it is closed. In your 2nd example above, a Tag is in fact a way to list multiple tiddlers, So you can just tag any tiddler that meets a particular condition with "your list of tags" tag. Then where ever you want to see all the tags of the selected tiddlers meeting that condition you can list them in real time (tags of all tiddlers so tagged) . But of course you want this " tag any tiddler that meets a particular condition" to occur without user intervention, so you need to leverage another trigger. Does this help? Tony On Friday, 4 January 2019 21:20:42 UTC+11, bimlas wrote: > > The basic structure of TiddlyWiki is XML, and it also feels because > everything is embedded in one another. > > ``` > In the list of tiddlers > If tiddler meets a condition > List its tags > end > end > ``` > > There are program flows that cannot be implemented in it, such as defining > a variable in one block, which is evaluated in another block. > > ``` > In the list of tiddlers > If tiddler meets a condition > Add its tags to a list of tags > end > end > > Filter out duplications from the list of tags > Show the list of tags > ``` > > In principle, we could use fields of tiddlers to store variables, but we > can only modify them by direct user intervention (eg. `<$action-listops` by > pressing a button). > > How do I implement the second example without user intervention? > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1435bb96-253d-4ab1-b206-a11cfe024827%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.