Need to get all the text from the particular applied character style
can me need texts particular applied character style
app.findtextpreferences.appliedcharacterstyle = "character style1";
app.findtextpreferences.appliedcharacterstyle = "character style1";
var mf=app.activedocument.findtext();
var mytext='';
for (var i=0;i<mf.length;i++){
mytext=mytext+mf[i].contents;
}
alert(mytext);
More discussions in InDesign Scripting
adobe
Comments
Post a Comment