Dear Friends,
See my script below, Error found in H1 style line, how to rectify this error,
myDoc=app.documents.item(0);
for (i=1; i<myDoc.paragraphStyles.length; i++);
{
myPstyle=myDoc.paragraphStyles.item(i);
if (myPstyle.name=="H1"); {
myPstyle.hyphenation=false;
}
myPstyle.ligatures=false;
}
Thanks
kanagakumar