Thanks Jean-Pierre, but I don't want to change the standard functionality to do this, in fact I'd much rather edit the default template that you mention, but I just don't know the name of it! Now if you can tell me the name of that default template I might well have the answer! 😉
On Fri, 30 Apr 2021 at 10:14, Jean-Pierre Rivière < jn.pierre.rivi...@gmail.com> wrote: > 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, isd196...@gmail.com 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 a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/tf-7T3zxEo0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > tiddlywiki+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/5c301311-9a8d-4ba7-be08-7cabce896fecn%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/5c301311-9a8d-4ba7-be08-7cabce896fecn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAFm1UBPG%2BmGxJ%2Br-awEMdszML8-%3DHaMqaZH9jLPbin1o0%3DRqmg%40mail.gmail.com.