Hi,
- I want to set hyphenation=false for all the heading levels, That heading level details are saved in .txt file format. For instance 'Heading detail.txt' has heading level paragraph style names: H1, H2, BT, CT, CN.
- Otherwise if hyphenation=true in normal paragraph styles (like TX, EXT) I have to change the hyphenation setting. This one I have completed as like below script
app.activeDocument.paragraphStyles.everyItem().properties={
hyphenateWordsLongerThan:6,
hyphenateAfterFirst:3,
hyphenateBeforeLast:3,
hyphenateLadderLimit:2,
hyphenationZone:"1p",
hyphenateCapitalizedWords:true,
hyphenateLastWord:false,
hyphenateAcrossColumns:false,
}
if(myPara[i].hyphenation=false)
I want to implement the 1st point detail in my script, so please correct my script.
Thanks