See the link here https://kookma.github.io/TW-Scripts/#Providing%20Variable%20to%20tm-notify%20Widget%20Message
--Mohammad On Friday, October 18, 2019 at 6:36:31 PM UTC+3:30, Mohammad wrote: > > Added to TW-Scripts. > > On Friday, October 18, 2019 at 2:12:44 PM UTC+3:30, PMario wrote: >> >> Hi, >> Import the attachment and have a closer look. >> >> It contains 2 tiddlers. >> >> NotifyTemplate contains the text with the variables, test and test1 .... >> You should definitely give them better names!!! >> >> test-notify contains a button, which defines the actions and the >> "variable hashmap" ... test and test1 are the "hashmap" parameters. >> >> NotifyTemplate contains >> >> <<test>> - <<test1>> >> >> test-notify contains: >> >> \define my-actions(a:"Hello", b:"World") >> <$action-sendmessage $message="tm-notify" $param="NotifyTemplate" test= >> """$a$""" test1="""$b$""" /> >> \end >> >> <$button actions=<<my-actions>> >Notify!</$button> >> >> >> >> have fun! >> mario >> >> -- 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/0e2d503f-dfcc-4ad7-9a62-bf2b0d896a19%40googlegroups.com.

