Hello Jarek, First of all, thank you for this script. It seems that it will do exactly what I am looking for. Also, kindly bear with me as I am a complete beginner with InDesign scripting. I'm trying to use your script for exactly the same reason as above, but I have an issue with one of the conditions given: "one of this story's textContainer is named 'story'" In the line: mStory = myDoc.textFrames.item("story").parentStory, Is it possible to apply your script to the entire document (or story/stories)? Or, how do I attribute the name "story" to the current story in my document? Again, thank you for your help, Jarek. — Adriano
... View more