I have a kind of a solution for journal tiddler. Journal because you can simply define default text for new journal. For common tiddlers, you'd have to mess with the default template.
first, I define a macro called autotext. For instance: \define autotext(clever) <$set name=hail value="Hi! I'n a new tiddler. !! $clever$ "> <$action-setfield $field=text $value=<<hail>>/> </$set> \end An then I add this as default text for new journal tiddler: << autotext "This is great!">> And when I create a new journal, it appears with the default text above. Just validate it. You see a "do it" button. Just click it. And presto! your text is now set as the hail variable was computed (along your need). The trick is to be in action mode to be able to change the fields of the tiddler. Which you are not when the initial text is inserted as this experiment do show you (although it could have been the case since in the creation of a new journal, you begin by clicking on a button). Le jeudi 29 avril 2021 à 19:12:46 UTC+2, [email protected] a écrit : > Hello. > > Thanks to posts in this group I have been able to create new buttons that > are used to create various custom Tiddlers. These are simple and work very > well, however I would like to take this one stage further. > > The vast majority of my new Tiddlers are created via standard square > bracket links in text that are added on the fly and then clicked to create > the new Tiddler. > > What I want is for those new Tiddlers that are created by clicking on > links in text, to be created with some text already in them. I'm not > worried about adding tags at this stage. > > Is there a system default Tiddler (or some other mechanism) that I can > edit or create so that ALL Tiddlers created when clicking on a text link > will have my default text in them? > > Many thanks for your time > > Jax > > > -- 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/5c301311-9a8d-4ba7-be08-7cabce896fecn%40googlegroups.com.

