Highlight the fonts applied manually
Hi All,
If composer manually applied font, How can highlight using javascript.
Or
Instead of Sabon applied Helvetica manually how to highlight using javascript is there any possibilities.
Regards
Hurix
Hi All,
If composer manually applied font, How can highlight using javascript.
Or
Instead of Sabon applied Helvetica manually how to highlight using javascript is there any possibilities.
Regards
Hurix
@Hurix, ignore the previous one and try the below.
Hi Hasvi,
Try this.
var paras = app.activeDocument.stories.everyItem().paragraphs.everyItem().getElements();
try{
app.activeDocument.colors.add({name:"Red", model:ColorModel.process, colorValue:[15,100,100,0]});
}
catch(e){}
for(var i =0;i<paras.length;i++)
{
for(var j =0;j<paras.words.length;j++)
{
if(paras.words
{
paras.words
}
}
}
Regards,
Chinna
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.