Thanks for bringing that up, Eric. I totally forgot about your very nice and tidy javascript macro.
For whatever reason, all I could think of is $:/plugins/OokTech/TimerActions <https://ooktech.com/TiddlyWiki/TimerActions/>, which I find heavy for simple enabling of bilateral communications (via local storage) between TiddlyWiki and a BASIC Anywhere Machine program , or between any two or more TiddlyWiki instances (all in the same domain to access the same area of local storage.) On Wednesday, February 16, 2022 at 6:50:29 PM UTC-4 Eric Shulman wrote: > On Wednesday, February 16, 2022 at 1:31:27 PM UTC-8 cj.v...@gmail.com > wrote: > >> ...some kind of trigger needs to be setup in TiddlyWiki to check local >> storage (a manual trigger would involve a human pressing a button; an >> automated trigger would involve some kind of timer in TiddlyWiki to trigger >> check of local storage and retrieving values from local storage.) >> > > You can use > https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2Faction-timeout.js > to set up an automatic periodic trigger to perform actions. > > To do this, you would create a tiddler, tagged with > `$:/tags/StartupAction/Browser`, containing something like this: > ``` > \define myActions() > ... action widgets to check local storage and retrieve values goes here ... > \end > <$action-timeout interval="1000" actions=<<myActions>> /> > ``` > > 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7a3124f1-d915-492a-b775-ddc0bf44ed4fn%40googlegroups.com.