Opa
I was not aware that the return ends the scrip..now you point it
out it seems so obvious !!!
text.replace...I thought you were refering to a TW function and not
the basic javascript
guess I should go back to bed and try again tomorrowwhen my brain
is fully engaged...
thanks
> var newtext=fullref+"|\n|Autor||\n|Editora||\n|Fonte|www|\n|Tipo|pdf|\n
> \n!!Comentarios\n";
> return newtext;
^^^ WHY?!? (this *ends* the script *without saving the
tiddler*... *none* of the code that follows it will *ever* be invoked)
> store.saveTiddler( tids[t].title, tids
Hi Again
Thanks Eric. so now I have
var ref="???";
var tids=store.getMatchingTiddlers(ref);
for (var t=0; t>");
var fullref=firstreplace.slic
On Feb 29, 8:32 pm, skye riquelme wrote:
> I am wanting to change the text in a large numer of tiddlersthey
> 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
If you are just doing
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 tiddlersthey
> follow a sim
5 matches
Mail list logo