Skip to main content
JaFo
Participant
January 25, 2024
Answered

Text frame divider/splitter with paragraph styles script

  • January 25, 2024
  • 2 replies
  • 1169 views

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?

Correct answer jctremblay

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

2 replies

jctremblay
Community Expert
jctremblayCommunity ExpertCorrect answer
Community Expert
January 22, 2025

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

Robert at ID-Tasker
Legend
January 22, 2025
quote

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


By @jctremblay

 

This thread is one year old 😉

 

jctremblay
Community Expert
Community Expert
January 22, 2025

LOL! Better late than never! 🙂 

 

Mike Witherell
Community Expert
Community Expert
January 25, 2024

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

Mike Witherell
JaFo
JaFoAuthor
Participant
January 26, 2024

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.