Hi.
I have a problem, I wrote a script thathasmereplaceallwords in the selectedtextFrameonaletter.It seems to methat everythingis fine,but once you startit turns outthat itdoes not replaceall the words.
var zaznaczenie =app.activeDocument.selection;
if (zaznaczenie[0].typename == "TextFrame" ) {
$.writeln(zaznaczenie[0].contents);
for(i=0;i<zaznaczenie[0].words.length;i++){
var temp = zaznaczenie[0].words[i].contents;
$.writeln(zaznaczenie[0].words[i].contents);
var t=temp.replace (temp, "x");
zaznaczenie[0].words[i].contents=t;
}
}