This discussion, from two weeks ago, is essentially the same thing:

https://groups.google.com/forum/#!searchin/TiddlyWiki/change$20tiddler$20title%7Csort:date/tiddlywiki/8zo4_wriZK8/s16s01TnDAAJ

If you were changing any other field, it wouldn't be such a big deal. But 
in TW everything hinges on the title. This is why, it may be better in 
one's projects to give a unique name to the title, and then use caption and 
description fields to use as titles. PMario's uni-link plugin can help with 
this.

I'm pretty sure the code you display is from TWC, which unfortunately had a 
different code base.

For anyone reading this, what would be the best way to document this 
particular situation? 

Have fun
-- Mark

On Friday, January 4, 2019 at 6:36:44 AM UTC-8, Kalmir wrote:
>
> Hi,
>
> I am looking for a way to edit the title of a group of tiddlers. I would 
> first filter the tiddlers by tag and then execute the batch edit on this 
> group. What I want to do is to put something at the beggining of each 
> tiddler's tiddler (like adding prefix) without changing the rest of the 
> tittle. So in the end each tiddler will have the same prefix but different 
> rest of the title.
>
> The BatchEdit, BatchManipulator and TiddlerTool plugins I found don't seem 
> to have this funcionality.
>
> In the old discussions here, I found a reply to someone who wanted to be 
> able to add something to the end of the text of a group of tiddlers. It 
> looks like this:
>
> store.suspendNotifications(); 
> store.forEachTiddler(function(
> title, tiddler) { 
>      if(tiddler.tags.contains("foo")) { 
>          // TODO: check for existing Review section first 
>          var body = tiddler.text + "\n!!!Review\n"; 
>          store.saveTiddler(title, title, body, tiddler.modifier, 
>              tiddler.modified, tiddler.tags, tiddler.fields, false, 
>              tiddler.created, tiddler.creator); 
>      } 
> }); 
> store.resumeNotifications(); 
>
>
> So the main difference is that I want to edit the title and not the body 
> (text field). 
>
> I should also say I am no coder and I don't even know how to run the 
> script above or its adjusted version. But I guess I could figure that out.
>
> Any ideas if the script above could be adjusted? If so, any tips how to 
> run the script? Or is there a different solution?
>
>
> I would be very glad for help.
>
> Thanks,
>
> Mira
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ee155fa-d4ba-4efb-bfbf-b5b4ba698abb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to