Text frame divider/splitter with paragraph styles script
Hi, I have this little script problem that would save me hundreds of hours of work time a year. Could someone help me?
The customer delivers a word document with product information, for example, to a 50-page product catalog (more than 400 products). The texts are copied to Indesign on a page-by-page basis and paragraph styles are manually added to the texts.
I want to have the text frames divide/split according to paragraph styles and that I can decide which paragraphs they are (for example "Product number", "Price 1" and "Price 2").
Here is an example of which paragraph styles are used in the product information:
- Product name
- Product Specification
- Product translation
- Body text
- Product number
- Price 1
- Price 2
Below is a visual explanation of how I would like the script to work. Is this possible?

