I've a problem when I would to place a image using indesign cs4.
1. import a structure xml
2. place the story in a text-frame
The story is formed from a lot of pdf file mixed with text, this create a overflow in the text-frame.
Create a cicle that add page until the overflow is finish.
But if the dimension of pdf is over of the box the script create a infinite loop.