I have a book with text frames on each page , they are all threaded together, I want to grab hold of each text frames first paragraph, is there any way, I'm trying app.activeDocument.textFrames[0].paragraphs.length
and returns "0", only parentStory.paragraphs.length
returns the paragraphs but I can't know which are the first in a text frame, any help?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
You should be able to use the
textContainers
attribute ofStory
to get eachTextFrame
of a story.The text frame's contents will have paragraphs.