Just what I was looking for, absolutely amazing and simpler than I thought. Thank you Eric!
On Wednesday, 12 September 2018 16:42:06 UTC+1, Eric Shulman wrote: > > On Wednesday, September 12, 2018 at 7:53:56 AM UTC-7, Hubert wrote: >> >> I'm trying to perform some actions based on the time of day. I'm unable >> to get the current date/time without resorting to a button push that sets a >> timestamp in a field that will serve as the state for the reveal widget. >> Is there a way for the state text reference to automatically update or at >> least get wikified? When I place <<now hh>> in my state tiddler, the reveal >> widget only returns a match if "<<now hh">> is referenced directly. >> Matching <<now hh>> as a state tiddler value with a "12" for the time >> returns nothing. >> > > Instead of using the "state" param, use the "default" param. This param > allows you to specify the state value using a variable, instead of a stored > tiddler field value. > > Thus: > > <$reveal default=<<now hh>> type="gt" text=12> > It's after noon > </$reveal> > > > enjoy, > -e > Eric Shulman > TiddlyTools.com: "Small Tools for Big Ideas!" (tm) > InsideTiddlyWiki: The Missing Manuals > -- 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/f70c6248-7683-4e0d-9236-1a3582810c77%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

