Hi Ludwa6, When the documentation says that you can indeed invoke a string containing ActionWidgets, I wonder what the syntax is. Going back to the genesis of evolution in 5.1.20, I found a post by Mohammad that used this with the help of a macro (but if someone can tell us how to do directly, that would be good).
For curiosity, I've added this short macro : \define undone-actions() <$action-sendmessage $message="tm-notify" $param="SampleNotification"/> \end And on my uncheck filter : <$list filter="[!has[draft.of]has:field[task]tag[done]sort[created]]"> <$checkbox tag="done" actions=<<undone-actions>> > ~~<$link/>~~</$checkbox> </$list> So when I uncheck, I've now the content of SampleNotification tiddler show in the box notification, nice. (PS : I don't think you can use tm-remove-tag since according to the doc it's with FieldManglerWidget, not ActionWidgets). This does not answer the question, but with the use of a field rather than a tag, there is no need to delete it ;) Sylvain Le mercredi 30 décembre 2020 à 15:32:03 UTC+1, scot a écrit : > Hello Everyone, > Maybe this topic could offer a solution. > https://groups.google.com/g/tiddlywiki/c/XVHRXv5WxgY/m/kMo2a9CDGQAJ > > Scot > > On Wednesday, 30 December 2020 at 10:39:00 UTC ludwa6 wrote: > >> Thanks, Sylvain; this is interesting: digging into those CheckboxWidget >> docs, i discovered that this widget has an "actions" attribute that can >> contain an ActionWidget such as "action-sendmessage"... Which could be a >> message like "tm-remove-tag", if i'm reading this right. Yes? >> >> So: i've been playing with some script like: >> <$action-sendmessage $message="tm-remove-tag" $param="ToDo"/> >> and slight variations on that, embedded in different places within the >> CheckboxWidget code (since i don't know what i'm doing, obviously :-), but >> no joy as of yet. >> >> Good thing is, none of my experiments have broken anything; code fails >> gracefully, the interpreter just seems to ignore it, until i finally get >> something right. Someday, maybe! >> >> /walt >> On Wednesday, December 30, 2020 at 9:04:18 AM UTC [email protected] wrote: >> >>> (On the other hand here we don't use the Task tag at all). >>> >>> Or deal with field to modify statut, like this example : >>> https://tiddlywiki.com/#CheckboxWidget (see Fied mode example). >>> >>> >>> Regards, >>> Sylvain >>> >>> >>> Le mercredi 30 décembre 2020 à 09:56:57 UTC+1, Sylvain Naudin a écrit : >>> >>>> Hello Ludwa6, >>>> >>>> FYI, I think the video source is from the doc >>>> https://tiddlywiki.com/#TaskManagementExample, and there is an >>>> enhanced version here : >>>> https://tiddlywiki.com/#TaskManagementExample%20(Draggable). >>>> >>>> I agree with you, when I use this simple checkbox task manager, I don't >>>> want to see the first tag. >>>> Maybe you can replace it with a field filter (and take opportunities to >>>> put some useful information). >>>> >>>> <$list filter="[!has[draft.of]has:field[task]!tag[done]sort[created]]"> >>>> >>>> >>>> Sylvain >>>> Le mercredi 30 décembre 2020 à 09:26:51 UTC+1, ludwa6 a écrit : >>>> >>>>> Looks like an elegant solution, Tones, that Toggle operator... If only >>>>> i was able to run that latest TW version that enables it. >>>>> Because of this conflict between TW v5.1.23 and the Stroll plugin (on >>>>> which i rely), alas, i am having to stick w/ TW v5.1.22 until it's >>>>> resolved. >>>>> >>>>> Fortunately, as explained in a previous thread >>>>> <https://groups.google.com/g/tiddlywiki/c/Btso8q3Okzo/m/yPnPP_7cBgAJ>, >>>>> Zak has pointed me to a solution -i.e. "tm-remove-tag" - that works... >>>>> Except "FieldMangler Widget" that is the message hander requires a button >>>>> to make it work, which makes my current solution slightly less elegant >>>>> (as >>>>> evidenced by screenshot i've shared in that thread), but it serves my >>>>> purposes for now. >>>>> >>>>> I do look forward to getting on TW v5.1.23, soon as Stroll plugin is >>>>> updated, and will try out that Toggle operator as soon as this comes to >>>>> pass. Thanks for the pointer, Tones! >>>>> >>>>> /walt >>>>> >>>>> >>>>> On Tuesday, December 29, 2020 at 11:16:45 PM UTC TW Tones wrote: >>>>> >>>>>> Post script, >>>>>> >>>>>> I mean to suggest that a checkbox is not really the way to go here >>>>>> since it typically toggles between existence and non existence or two >>>>>> values. Where when using tags that replace another tag the new toggle or >>>>>> cycle is more logical. >>>>>> >>>>>> Regards >>>>>> Tones >>>>>> >>>>>> On Wednesday, 30 December 2020 at 10:14:23 UTC+11 TW Tones wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> In the new release there is a toggle or cycle operator see here >>>>>>> https://tiddlywiki.com/#toggle%20Operator and the examples provided >>>>>>> include a tag. >>>>>>> >>>>>>> or https://tiddlywiki.com/#cycle%20Operator and the first exmple >>>>>>> >>>>>>> Tones >>>>>>> >>>>>>> On Tuesday, 29 December 2020 at 20:36:00 UTC+11 ludwa6 wrote: >>>>>>> >>>>>>>> Following this excellent tutorial video by Francis Meetze about >>>>>>>> "Tracking Tasks in TiddlyWiki" >>>>>>>> <https://www.youtube.com/watch?v=mzoMhKx0j8g>, i was easily able >>>>>>>> to get the thing working as shown... And moreover, getting it to >>>>>>>> integrate >>>>>>>> with the Contents tab i have created, following the previous video >>>>>>>> in same series <https://www.youtube.com/watch?v=bu7JU4DjPrg>, to >>>>>>>> the extent that my list of Completed and ToDo items shows up in the >>>>>>>> Contents tab. >>>>>>>> >>>>>>>> The one hair in this soup is that the tickbox for "Completed" >>>>>>>> items, tho it works fine to migrate items from ToDo tiddler to >>>>>>>> Completed >>>>>>>> tiddler (and back, if status changes accordingly), does not remove the >>>>>>>> ToDo >>>>>>>> tag from the tiddler of a completed task, so it takes an edit on that >>>>>>>> task's tiddler to remove the ToDo tag -a small PITA, of course, but it >>>>>>>> does >>>>>>>> crap up the experience of a perfectly beautiful workflow. >>>>>>>> >>>>>>>> So: this is to ask if anyone here can suggest a tweak to this >>>>>>>> script (below) on the ToDo tiddler that would trigger removal of the >>>>>>>> ToDo >>>>>>>> tag object from the subject tiddler. Ideas, anyone? >>>>>>>> >>>>>>>> (NB: i have modified the script in video by changing instances of >>>>>>>> the word "done" to "Completed," just to make it work with my Contents >>>>>>>> tab >>>>>>>> taxonomy -but that is irrelevant to the problem i'm having; i've tried >>>>>>>> it >>>>>>>> both ways, and it makes no diff). /walt >>>>>>>> >>>>>>>> 8<------- (contents of ToDo tiddler -which is tagged only w/ >>>>>>>> "Tasks", b/t/w) ----->8 >>>>>>>> >>>>>>>> <$list >>>>>>>> filter="[!has[draft.of]tag[task]!tag[Completed]sort[created]]"> >>>>>>>> >>>>>>>> <$checkbox tag="Completed"> <$link to={{!!title}}> >>>>>>>> <$view field="created" format="date" template="DDth mmm hh:mm"/> - >>>>>>>> <$view field="title"/> >>>>>>>> </$link> >>>>>>>> </$checkbox> >>>>>>>> >>>>>>>> </$list> >>>>>>>> >>>>>>>> 8<------- (end of script) ----->8 >>>>>>>> >>>>>>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b0faf216-f094-435f-9f22-d0fffda1509fn%40googlegroups.com.

