Skip to main content
Inspiring
October 19, 2022
Answered

Story Split

  • October 19, 2022
  • 2 replies
  • 440 views

Hi,

I've found a way to create a link between text boxes,

textFrame3.nextTextFrame = textFrame7;

but I can't find the opposite. Only longer scripts, no simple, "splitTextFrame"

Thanks

Jirka

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Loic.Aigon
textFrame3.nextTextFrame = null;

If other codes are lengthy is because splitting is just the easy part. The one-line script simply dissociates frames but does not recompose texts over frames. So the script needs to tackle text repartition, hence their length due to the logic needed.

2 replies

Loic.Aigon
Loic.AigonCorrect answer
Legend
October 19, 2022
textFrame3.nextTextFrame = null;

If other codes are lengthy is because splitting is just the easy part. The one-line script simply dissociates frames but does not recompose texts over frames. So the script needs to tackle text repartition, hence their length due to the logic needed.

Inspiring
October 19, 2022

Thank you very much, simple as I wanted.
I just didn't realize that after cancellation, there would be no text left.
I created 4 linked textFrames.
After filling the text, I assigned a different text size to each textFrames.
Unfortunately, part of the different text size, was transferred to another textFrames.
So after filling the textFrames, I wanted to cut it off and then change the font.

Green=OK - red=overflow format from another textFrames.

Thanks again, for the previous reply, I will keep looking. I originally pasted the text into individual textFrames. But I thought of making the text contiguous. So a technical challenge that I can't track down.