Reply To: Make an array of H&J violations for processing with script

#14323527
Peter Kahrel
Member

H&J violations aren’t exposed to scripting, you’ll have to find them yourself. Which is possible, but it’s a slow bussiness. For example, to find word-spacing violations, you first find the width of a standard space (i.e. a space in a non-justified line of text). You then go through the text and in each line of text and get the width of the first space. Determine the percentage by which that space was scaled, then compare that percentage with the minimum and/or the maximum value set in the Justification panel.

This article was last modified on November 25, 2019

Comments (0)

Loading comments...