Skip to main content
JaFo
Participant
Jan 25, 2024 12:08 PM UTC
Answered

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?

jctremblay
jctremblayCorrect answer
Community Expert
Jan 22, 2025 7:33 PM UTC

Take a look at Ajar script call "Split Text".
https://ajarproductions.com/split/

8 replies

jctremblay
Community Expert
jctremblayCommunity ExpertCorrect answer
Community Expert
Jan 22, 2025 7:33 PM UTC

Take a look at Ajar script call "Split Text".
https://ajarproductions.com/split/

Translate
Robert at ID-Tasker
Legend
Jan 22, 2025 11:00 PM UTC
quote

Take a look at Ajar script call "Split Text".
https://ajarproductions.com/split/


By @jctremblay

 

This thread is one year old 😉

 

Translate
jctremblay
Community Expert
Community Expert
Jan 22, 2025 11:06 PM UTC

LOL! Better late than never! 🙂 

 

Translate
Mike Witherell
Community Expert
Community Expert
Jan 25, 2024 8:42 PM UTC

Why separate textframes? A single frame would be preferable, no?

Translate
Mike Witherell
JaFo
JaFoAuthor
Participant
Jan 26, 2024 7:34 AM UTC

Because I want to move product information and prices around the product image. Product information and prices are not always in the same place and depend on how other products come next to each other. The customer wants the layout not to look like an "automatic layout".

 

So it would be faster if I didn't have to split the text frames one by one. The problem is also that the product information coming from the customer is not very systematic, so it would just be easier to break up the text frames with paragraphs.

 

Here is an example of how the positions of images, product information and prices can vary in the layout.

Translate