Answered
Is there a way to tell if a paragraph is the first paragraph on a page?
If I have a paragraph saved in a variable, such as myParagraph, is there a way to tell if it is the first paragraph on a page?
If I have a paragraph saved in a variable, such as myParagraph, is there a way to tell if it is the first paragraph on a page?
If you have one text frame on a page, then
if (myParagraph == myParagraph.parentTextFrames[0].paragraphs[0]) {
tests if myParagraph is the first one in the frame. If you have more text frames it gets a little bit more complicated.
P.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.