Hi Tobias I think the syntax should be like this (but I can't get it to work):
<$action-listops $list="myfield" $subfilter="one two [[twenty one]] +[putbefore:2[Wednesday]putafter[Friday]]"/> Witch is intended to: -- append three items to the list (one two [[twenty one]]) -- move the last two appended items (two [[twenty one]]) before 'Wednesday' -- move the first appended item after 'Friday' (number of items to move defaults to 1) What do you think? and how do I get this to work? regards On Thursday, 15 October 2015 13:10:11 UTC+2, Tobias Beer wrote: > > Hi Metabele, > > >> The way I have set up the widget -- you can use the full form of the >> filter using the $filter= attribute, like this: >> >> <$x-mangletags $list="mylist" $filter="[list[!!mylist]] [[---oOo---]] >> +[replace[Wednesday]]"/> >> > > Ah, of course (little facepalm), it always operates on the current > tiddler's list by default. > > >> The code could be changed to insert more than one string, with syntax >> something like this (only at one position though): >> >> <$x-mangletags $list="mylist" $subfilter="[[one]] [[two]] [[three]] >> +[replace:Wednesday[3]]"/> >> >> -- but I'm not sure if this serves any use. >> > > I would not be working on index numbers too much but rather named items. > > Anyhow, I think there are some severe restrictions in terms of giving > filters the desired arguments so I opened up this: > > *#2029 extended filter syntax for variable arguments* > https://github.com/Jermolene/TiddlyWiki5/issues/2029 > > Best wishes, > > — tb > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c383b837-f6fe-483a-bd36-366ee0e90122%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

