Hey @Mohammad, didn't realize you were Kookma.

Does this not work?

<$action-sendmessage $message="tm-rename-tiddler" from=<<currentTiddler>> 
to=<<newTitle>> />

This works for me. I posted that previously in the same response where I 
posted what lines would need to be changed. Perhaps you missed it?

-Flibbles

On Saturday, September 7, 2019 at 10:50:33 AM UTC-4, Mohammad wrote:
>
> Hi Flibbles,
>  No, I did not said this should be done on Relink side! Yes, it is on 
> Tiddler Commander side!
> By the way, I appreciate if you explain me how to do this using pure TW 
> script!
>
> As you mentioned in your previous post Tiddler Commander uses
>
>  <$action-setfield      $tiddler=<<currentTiddler>> title=<<newTitle>> />
>  <$action-deletetiddler $tiddler=<<currentTiddler>> /> 
>
> That's true! but if I want to do this without create-delete actions how it 
> is possible
>
> *Tiddlywiki.com has the means to rename tiddlers rather than just create 
> and delete them.  *
>
>
>
> Best wishes
> Mohammad
>
>
> On Sat, Sep 7, 2019 at 6:59 PM Flibbles <[email protected] 
> <javascript:>> wrote:
>
>> ...I don't follow.
>>
>> It sounds like you're saying Relink should be the one to bridge the gap 
>> because it uses JS, but I can't.
>>
>> I get that Tiddler Commander is pure TW script, but it's still possible 
>> for it to do legit renaming. Tiddlywiki.com has the means to rename 
>> tiddlers rather than just create and delete them. The change I've outlined 
>> above would adjust Tiddler Commander to properly rename tiddlers, and it'd 
>> only take about 5 minutes to do. I'd do it myself, except the Tiddler 
>> Commander source only contains the compiled plugin for some odd reason. If 
>> you want integration, I'd suggest making an issue in Kookma github page 
>> <https://github.com/kookma/TW-Commander> and copy and paste my last two 
>> posts.
>>
>> -Flibbles
>>
>> On Saturday, September 7, 2019 at 9:19:01 AM UTC-4, Mohammad wrote:
>>>
>>> Hi Flibbles
>>> Thank you for update!
>>> Yes, Tiddler Commander is a pure TW script and does not use any JS. 
>>> So, the current technology at tiddlywiki.com is to create a new tiddler!
>>>
>>> By the way it is tracking of a relink seems to be much more complicated 
>>> to be done using Tiddler Commander or pure TW scripts.
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Sat, Sep 7, 2019 at 4:27 PM Flibbles <[email protected]> wrote:
>>>
>>>> @Mohammad
>>>>
>>>> I looked into total commander and I see why they don't integrate. 
>>>> Unfortunately, I think the change would have to be on Total Commander's 
>>>> side. Their tiddler renaming stuff is done like,
>>>>
>>>>  <$action-setfield      $tiddler=<<currentTiddler>> title=<<newTitle>> 
>>>> />
>>>>  <$action-deletetiddler $tiddler=<<currentTiddler>> />
>>>>
>>>> Which is technically just making a new tiddler, and deleting another. 
>>>> Action-setfield doesn't call the renaming hooks. If it were instead,
>>>>
>>>> <$action-sendmessage $message="tm-rename-tiddler" from=<
>>>> <currentTiddler>> to=<<newTitle>> />
>>>>
>>>> Then it should all work together.
>>>>
>>>> -Flibbles
>>>>
>>>> On Saturday, September 7, 2019 at 7:01:40 AM UTC-4, Mohammad wrote:
>>>>>
>>>>> Hi Mario,
>>>>>  Because when I rename a tiddler using Tiddler commander, it does not 
>>>>> update links and etc.
>>>>> I have to connect these two some how!
>>>>>
>>>>>
>>>>> Best wishes
>>>>> Mohammad
>>>>>
>>>>>
>>>>> On Sat, Sep 7, 2019 at 1:17 PM PMario <[email protected]> wrote:
>>>>>
>>>>>> On Saturday, September 7, 2019 at 6:14:45 AM UTC+2, Mohammad wrote:
>>>>>>>
>>>>>>> This is great!
>>>>>>> I am thinking how can I merge this into Tiddler Commander plugin!
>>>>>>>
>>>>>>
>>>>>> Why do you want to merge it. ... Try to use it as a plugin, and let 
>>>>>> the users decide if they want to install both plugins. 
>>>>>>
>>>>>> -m
>>>>>>
>>>>>> -- 
>>>>>> 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/2aa85d7f-ddf5-4db4-b860-2c597904ecba%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/2aa85d7f-ddf5-4db4-b860-2c597904ecba%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/1ffadd14-7df5-4b82-be30-bdfb12e70363%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/1ffadd14-7df5-4b82-be30-bdfb12e70363%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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/6bdc2848-32a8-448d-843a-e0a7ac24b480%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/6bdc2848-32a8-448d-843a-e0a7ac24b480%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/b2045cf6-5c6a-4779-b9ed-32833cb25bed%40googlegroups.com.

Reply via email to