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

Popular posts from this blog

Embed interactive SWF in PDF - losing interactivity

bonjour sur reader comment je change mon imprimante par defaut

Falang and too many redirects - Joomla! Forum - community, help and support