Skip to main content
Inspiring
December 12, 2018
Question

Script to Copy and Add Text

  • December 12, 2018
  • 2 replies
  • 351 views

I'm hoping to find someone that has the knowledge and time to write a script to do the following. I’ve got a 1,000 page catalog that once flowed looks like the first image.

All the spaces between columns are created with tabs, with paragraph returns after every line.

And my goal is to add the manufacturers (Seaswirl) name above the first line it is used.

Add the year (2006) in front of the first tab

Add the Drive Code (O/B, I/O, I/B, etc.) in front of the second tab (this should only be in the first instance in the column)

Add space (Apply Style: Sailboat Line Top, which will add the space above (this is used on every line that the Year changes and every time the Drive Code changes.

The Drive Code doesn’t get added when a year changes if the Drive Code stays the same.

The manufacturer (Seaswirl) style name is: Manufacturer

The lines with no space above are named: Sailboat Line Bottom

I’m using Paragraph & Character Styles. For the text that’s being inserted in the first 2 columns. YEAR & O/B.

If this is something someone can do, please let me know and what you would charge to do this.

Thanks,

Peter

This topic has been closed for replies.

2 replies

Community Expert
December 12, 2018

Hi Peter,

I can help, drop me a message with details and we can discuss it further.

-Manan

-Manan
TᴀW
Legend
December 12, 2018

Hi Peter,

I'll be happy to help out.

Drop me a line at admin [at] id-extras.com

Ariel

www.id-extras.com

id-extras.com | InDesign tools & scripts for typesetters, form designers, and translators