Open up the HTML file with your favorite code editor, or treat it as plaintext with your favorite regexp text-processing tools.
On Thursday, March 1, 2012 11:32:17 AM UTC+7, skye riquelme wrote: > > Hi Again > > I am wanting to change the text in a large numer of tiddlers....they > follow a simple pattern and the editing of the text is quite straight > forward. But I cant get the script to make the changes to the original > tidller........ > > I have ---- > <script> > var ref="???"; > var out=""; > var tids=""; > var tids=store.getMatchingTiddlers(ref); > for (var t=0; t<tids.length; t++) { > var title=tids[t].title; > var tags=tids[t].tags; > var who=tids[t].modifier; > var text=tids[t].text; > var firstreplace=text.replace("<<tiddler Format##pdf with:'","| > Link|"); > ........so the text is currently changed as I want.... ut then I > tried... > store.saveTiddler(title, title, newtext, who, null, tags,null); > autoSaveChanges(); > > ...but it does not seem to override the old text..... > > ..I have tried store.setTiddlerText....but cant get the syntax > right.... > > HELP > Thanks > Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/MfWGDhI0ISgJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.