how to get character count
Hi All,
How to read the below highlighted value in script. Pl help me.
Regards,
RockSel
Hi All,
How to read the below highlighted value in script. Pl help me.
Regards,
RockSel
Ok Thank you so much.
How to select whole document with out master pages.
Hi Rock Sel,
Try the below js code.
var myDoc = app.activeDocument.pages.everyItem().textFrames.everyItem();
try{
var myCharlength = myDoc.characters.length;
}catch(e){}
if(myCharlength<=0){
alert("Characters count is 0 in this document!");
}
else{
alert("Characters count : "+myCharlength);
}
thx
csm_phil
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.