Hi Charlie, thanks for the solution! It is different from what I imagined 
but is an acceptable workaround for me. I juggled a few things (the 
"Tiddler A" content is now an entire line of text, of which the link to the 
current chapter is only the middle part), and I changed an edit-text input 
to a textarea to accommodate the longer text. So this will work for me. 
Thanks!

On Monday, May 3, 2021 at 10:39:57 AM UTC-5 [email protected] wrote:

> Okay, here's a very rough prototype.
>
> You'll find in the attached zip two tiddlers:
>
>
>    - Add Tiddler A Content
>       - This is the meat of it all
>       - This specifies the actions for the button
>       - TiddlyWiki automagically takes care of creating the button for 
>       the actions (the spark for the magic is the "$:/tags/EditorToolbar")
>    - Add Tiddler A Content Image
>       - Meant to be the icon in the Edit toolbar
>       - Just text at the moment, which creates an obnoxiously big button
>       - Good enough for testing purposes
>       - We can work on a shorter word, or setting up an actual icon, later
>    
>
> You supply your own "Tiddler A" for testing purposes, putting whatever 
> text in it.
>
> Then create some new test tiddlers, trying out that button to see what 
> happens.
>
>
>
>
> On Monday, May 3, 2021 at 12:00:01 PM UTC-3 Charlie Veniot wrote:
>
>> Ah, then.   I have a solution (I think) festering, percolating possibly 
>> burning if you are smelling any burnt toast ...
>>
>> On Monday, May 3, 2021 at 11:54:03 AM UTC-3 David Gifford wrote:
>>
>>> Hi Charlie, 
>>>
>>> Yes, you have described well what I am trying to do.
>>>
>>> No, I don't need an "Internet archive" style list of what the content 
>>> used to be. The button will stamp a reference to the chapter I am currently 
>>> reading (eg, [[Guns, Germs and Steel (Diamond) ch 4]]) into a note tiddler, 
>>> along with other text immediately preceding and following. When I start 
>>> reading a new chapter I will update the "Current chapter" tiddler. So the 
>>> content is not important enough to warrant a log of previous content.
>>>
>>> Blessings.
>>>
>>>
>>>
>>>
>>> On Mon, May 3, 2021 at 9:45 AM Charlie Veniot <[email protected]> wrote:
>>>
>>>> G'day David,
>>>>
>>>> RE: #3:  I'm going to throw a curve-ball at you and hope I don't bean 
>>>> you in the process ...
>>>>
>>>> By the time I hit the submit button, I'm thinking there will already be 
>>>> a few replies.
>>>>
>>>> Please let me know if I've got this right:  for any tiddler you might 
>>>> be editing, you'd like a button that copies and pastes the actual content 
>>>> of that moment of the tiddler "Current chapter" into the tiddler you are 
>>>> editing.  i.e. a historical snapshot of "Current chapter" at that very 
>>>> moment in time.  (adorning that content with prefix, suffix, and however 
>>>> else, that's secondary problem/solution to this primary problem/solution 
>>>> need.)
>>>>
>>>> When we first talked about this stuff, you wanted the content of 
>>>> "Current chapter" in a field for new tiddlers.  Do I understand correctly 
>>>> that you now want it instead in the text body of the new tiddler, wherever 
>>>> your cursor is sitting?
>>>>
>>>> Now the curve-ball. Would it be of any value to have dated/historical 
>>>> snapshots of "Current chapter" as distinct tiddlers which can be 
>>>> individually transcluded in any number of new tiddlers?
>>>>
>>>> That would only be of value if you would ever like to see all of the 
>>>> "Current chapter" versions over a span of time and/or if any one version 
>>>> would actually ever be embedded/included/transcluded in more than one 
>>>> tiddler.  Otherwise, better to have each snapshot existing where you need 
>>>> it.
>>>>
>>>>
>>>>
>>>> On Monday, May 3, 2021 at 9:38:54 AM UTC-3 David Gifford wrote:
>>>>
>>>>>
>>>>> Hi everyone
>>>>>
>>>>> Yesterday I worked on a project, and Saq, Soren, Charlie and Mohammad 
>>>>> helped me. Thank you!
>>>>>
>>>>> Now I only have three remaining problems, and I was hoping you all 
>>>>> might help me. 
>>>>>
>>>>> 1. The comptext plugin does not autocomplete links in custom fields, 
>>>>> only in the text field. Is there a way to configure it to autocomplete in 
>>>>> a 
>>>>> specific custom field? I only need it to autocomplete in one...
>>>>>
>>>>> 2. Adding a link to a missing tiddler in a custom field does not add 
>>>>> the missing link to the missing tab. Is there a way to see all the 
>>>>> missing 
>>>>> links in custom field x from all tiddlers?
>>>>>
>>>>> 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)
>>>>>
>>>>> <$action-sendmessage
>>>>>     $message="tm-edit-text-operation"
>>>>>     $param="wrap-selection"
>>>>>     prefix=""""""
>>>>>     suffix=""""""
>>>>> />
>>>>>
>>>>> Thanks to any help on any of these. World domination is imminent. 
>>>>> Blessings, Dave
>>>>>
>>>> -- 
>>>>
>>> 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/62f11571-430e-460b-83b4-397572f8f46fn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/62f11571-430e-460b-83b4-397572f8f46fn%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/4c9eed34-6e19-4194-bf33-d27c809dc31bn%40googlegroups.com.

Reply via email to