Reply To: Script to change the language of all text on document

#60817

Main();

function Main() {
if (app.documents.length == 0) {
alert(“Please open a document and try again.”);
exit();
}
var doc = app.activeDocument;
app.findTextPreferences = app.changeTextPreferences = null;
app.findTextPreferences.appliedLanguage = “English: USA”;
app.changeTextPreferences.appliedLanguage = “English: UK”;
doc.changeText();
app.findTextPreferences = app.changeTextPreferences = null;
}

This article was last modified on October 19, 2011

Comments (0)

Loading comments...