Last frame in a story: textFrameItem.nextFrame is not null
Hi together,
the value of nextFrame of the last textFrameItem in a story should always be null. Otherwise you could thread the outport of a text frame item with the inport of the same text frame item.
And indeed that's the case!
See details in this thread at the Adobe Illustrator Scripting Forum:
- Re: [BUG] copying threaded text-frames. Laubender Mar 30, 2019 7:42 PM (in response to Laubender) https://forums.adobe.com/message/11004207#11004207
Since this IS POSSIBLE it creates a rather strange text composition in the affected story. So my suggestion: nextFrame of the last threaded text frame item in a story should always be null.
Here an example where I used one single text frame item that is threaded with itself:
- Re: [BUG] copying threaded text-frames. Laubender Mar 30, 2019 7:58 PM (in response to Laubender) https://forums.adobe.com/message/11004345#11004345
Regards,
Uwe Laubender
( ACP )
ATTACHED:
BUG-with-nextFrame-of-objext-TextFrameItem.zip.txt
( To unzip the attached zip file rename it to *.zip first. )
![](https://secure.gravatar.com/avatar/f5fd32b4ee5a6470282604c7524f5ffb?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Uwe Laubender commented
Tested with Adobe Illustrator CC 2019 on Windows 10.
Regards,
Uwe Laubender
( ACP )