Hi PMario Thanks for the answer to #2. Works great!
Yes, for #3, maybe the reference to Charlie's snippet was confusing. Basically the question is: If the current text of [[Tiddler A]] is "I am so happy", I want an editortoolbar button that grabs "I am so happy" from the text field of [[Tiddler A]] and pastes it into the text of the tiddler I am editing. But: 1) There will be text before and after "I am so happy" 2) If I change the text of [[Tiddler A]], I don't want "I am so happy" to change wherever I used the editortoolbar button. On Mon, May 3, 2021 at 8:00 AM PMario <[email protected]> wrote: > On Monday, May 3, 2021 at 2:38:54 PM UTC+2 David Gifford wrote: > > 3. Yesterday Charlie showed me how to grab the text of a specific tiddler >> and insert it into the new tiddler button so it would get added to a custom >> field of the new tiddler. The key component was customfieldname={{{ >> [[Current chapter]get[text]] }}}. I tried to use that in an editortoolbar >> button with no success. How could I grab the text of [[Current chapter]] >> and have the prefix of the following snippet paste it into tiddlers? (as >> text, not as {{Current chapter}}, because I don't want what is pasted to >> change when I change the text of Current chapter later on) >> > > Since I don't know, what you discussed yesterday ... link is missing ... I > don't understand this question. > > >> <$action-sendmessage >> $message="tm-edit-text-operation" >> $param="wrap-selection" >> prefix="""""" >> suffix="""""" >> /> >> > > I'm not sure, why you need 6 double quotes as a prefix and a suffix. .. > The above code comes from a toolbar button. ... I'm not sure how it is > related to: " customfieldname={{{ [[Current chapter]get[text]] }}}" from > the text above. > > -m > > -- > 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/ddfe4VzgOr8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/7adb45b4-8d19-4962-b2d1-49cb4f5931fen%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/7adb45b4-8d19-4962-b2d1-49cb4f5931fen%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFLP%2BrBV%3D_%2BYDrwM4ch0UDK1UaPJsEAZZ-dV3OyPhtLxBg%40mail.gmail.com.

