Eric, That is an interesting design method if I understand it correctly. If there is a trigger available, in this case a timer, presumably any other trigger such as a button etc... if actions provided to it they will be executed. It suggests to me anything which can act as a trigger can have actions, this is in most trigger widgets like buttons etc... but when someone designs a solution containing any kind of trigger it would be valuable if an action macro or tiddler reference was available if needed. Further consideration can be given to the modifier keys alt, ctrl...
I suppose I am suggesting this would be a good design pattern. What do you think? Eg; a todo list done button, if an action macro is set the do them. The user can then trigger a dialogue, or confirmation or many other responses. Makes solutions extensible without changing the code of the solution.. Tones On Friday, 14 May 2021 at 15:17:03 UTC+10 Eric Shulman wrote: > On Thursday, May 13, 2021 at 8:34:41 PM UTC-7 [email protected] > wrote: > >> how can i add a value in a field automatically after an alarm is >> triggered, so asside from the popup message ,i also want a field to say >> "done" for example? >> > > I just added a new feature to the Alarms, so that you can invoke custom > actions instead of displaying a message box. > > *To define custom actions to be performed when an alarm is triggered:* > > - Create a tiddler containing one or more desired <$action-... > /> widgets and enter the title of this tiddler as the message text for the > alarm. > - When the alarm is triggered, the <$action-... /> widgets contained > in the specified tiddler will be invoked. > - To display a message in addition to performing the specified > actions, you can define a separate alarm with the desired message text. > > Get the updated code here: > http://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAlarms > > enjoy, > -e > > -- 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/7353065b-1fe6-4670-9b39-64ccba95c446n%40googlegroups.com.

