Question
Remove Ligatures and Hyphenation in the active document
Hi,
I wonder if it's possible to remove ligatures and hyphenation attribute in the whole active document (including all the layers)?
I've started with this:
var doc = app.activeDocument;
for (var i = doc.pageItems.length -1; i > -1; i--) {
var item=doc.pageItems;
if (item.typename == "TextFrame") {
changeText(item)
}
}
function changeText(item) {
item.textRange.characterAttributes.ligature.false
}
