I have some problems with text replacing with scripts. In use CS5 and when I try search function e.g.:
var myDocument = app.activeDocument;//Clear the find/change text preferences.
app.findTextPreferences = NothingEnum.nothing;app.changeTextPreferences = NothingEnum.nothing;
myDocument.search("searched text", true, true, "Replacing text");
Extension Script toolkit starts a mistake, that search is not a function...
Could anybody advise me how to solute the problem? I have the searched terms and replacing terms in MySql database... How could I get them to an Indesign best way?
Retrieving data ...