Hi Mark, Thanks for your reply. I'll try to use <$action-deletetiddler>. But for me the drawback is that it doesn't ask to confirm the action and the story is not updated.
Basically what I want to do is to delete a tiddler and then to change the value of some field in two tiddlers. Regards FrD Le lundi 22 août 2016 17:11:52 UTC+2, Mark S. a écrit : > > I've had pretty good luck putting all the actions (including the delete) > inside the button. For instance, this seems to work: > > \define actions() > <$action-deletetiddler $tiddler="DeleteMe" /> > <$action-setfield $tiddler="MakeMe" text="Hi! How are you?"/> > \end > <$button>Do stuff<<actions>> > </$button> > > > You should share the action-widgets you're using and how you have them set > up. More importantly, you might indicate exactly *what* you want to do. > > Good luck! > Mark > > On Monday, August 22, 2016 at 7:33:36 AM UTC-7, FrD wrote: >> >> Hi, >> >> I'm trying to delete a tiddler and have some actions performed by a >> button. Something like this : >> >> <$button message="tm-delete-tiddler" param="Tiddler" actions=<<actions>>> >> Delete</$button> >> >> where actions is : >> >> \define actions() >> <action-setfield .../> >> <action-setfield .../> >> \end >> >> It seems like the actions are not performed. So I tried to put directly >> the actions inside the button, but with no result either. Th tiddler is >> deleted but nothing else. >> >> Am I doing something wrong or is it not possible to have actions at the >> same time of using the 'tm-delete-tidler' message ? >> >> Thanks in advance >> >> Regards >> >> FrD >> > -- 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/b5db504e-4408-4c2d-b34f-1b33a7c6f9a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

