I'm getting closer to my ultimate goal of creating a tiddler that contains a list of journal entries, where today's entry is editable. I'm dynamically generating today's entry with a macro, then have buttons that will hide and reveal an editor. The editor works, as do the hide and reveal buttons, and typing into the editor creates the entry tiddler if it doesn't exist. Unfortunately, while the macro that generates the name of the new tiddler doesn't appear to resolve, always.
\define journalTiddlerName( ) <<now DD-MMM-YYYY>> $(project)$ \define state() $:/state/$(currentTiddler)$ <$set name="project" value={{!!project}}> <$set name=state value=<<state>>> <$reveal type="nomatch" state=<<state>> text="show"> <p><h2> Today <$button set=<<state>> setTo="show" class="tc-btn-invisible">{{$:/core/images/edit-button}}</$button> </h2></p> <p><$transclude tiddler=<<journalTiddlerName>> mode="block" /></p> </$reveal> <$reveal type="match" state=<<state>> text="show"> <p><h2> Today <$button set=<<state>> setTo="hide" class="tc-btn-invisible">{{$:/core/images/done-button}}</$button> </h2></p> <<journalTiddlerName>> <p><$tiddler tiddler=<<journalTiddlerName>>> {{||$:/core/ui/EditTemplate/body/editor}} </$tiddler></p> </$reveal> </$set> </$set> There are three calls to <<journalTiddlerName>>. The first and third return "<<now DD-MMM-YYYY>> WR-38972 <file:///C:/Users/wasserl/Documents/Projects/Notes/test_w_sample_notes.html#%3C%3Cnow%20DD-MMM-YYYY%3E%3E%20WR-38972>", while the second returns "29-April-2020 WR-38972". For some reason, the Now macro is only working part of the time. Thoughts? -- 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/008ffc83-8ad5-4de7-b3c8-cb1148cbd0e4%40googlegroups.com.