Think Tiddlywiki way! Why to change the title? You can
tag tiddler done, you can have a completion field and add your data there!
renaming a tiddler is not a good choice.

By the way, Eric Shulman has given the complete solution for renaming 
tiddlers here:

https://groups.google.com/d/msg/tiddlywiki/oMBoAkJIZhQ/mTlPv3FbEQAJ

You can also use TW-Scripts

--Mohammad


On Friday, April 24, 2020 at 8:59:13 AM UTC+4:30, N P wrote:
>
> Hello,
>
> I've been searching for a few days and came up short.  How do you rename a 
> tiddler?  The documentation shows WidgetMessage tm-rename-tiddler 
> <https://tiddlywiki.com/#WidgetMessage%3A%20tm-rename-tiddler>, however 
> that is destructive and leaves you with a fresh tiddler with a new name.
>
> I've tried some variations of the below and came up short in my macro 
> testing
>
> <$action-setfield $tiddler="New Tiddler 2" $field="title" $value="New 
> Name" />
>
> My use case is, I have created a personal task management workflow. When I 
> archive my tasks, I want to change the the Title of the Tiddler to a 
> combination of Completed date field and Caption field.
>
> Here is my archive button for reference
>
> \define archiveHere()
> $(currentTiddler)$
> \end
>
>
> \define archiveHereButton(completed caption)
> <$button tooltip={{$:/user/button/ArchiveTask/Hint}} class=<<tv-config-
> toolbar-class>> param=<<archiveHere>> >
> <$action-listops $tiddler=<<archiveHere>> $tags="+[append[task-archive]]" 
> />
> <$action-setfield $tiddler=<<archiveHere>> title="$completed$ $caption$" 
> />
> {{$:/core/images/chevron-down}}</$button>
> \end
>
>
> <!-- 2020-04-24 call macro and pass the fields to concatenate as new 
> title of task -->
> <$macrocall $name="archiveHereButton" completed={{!!completed}} caption
> ={{!!caption}}/>
>
>
> Thank you,
> Mick
>
>

-- 
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/86a26846-3296-4694-8c24-098e6a23ae03%40googlegroups.com.

Reply via email to