Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

InDesign Type Scripting

New Here ,
Nov 08, 2017 Nov 08, 2017

Hello,

So I have a poster design that has a text to win code (Text XXXX to XXXX). I have to create a poster for 450 different codes. The poster design will stay the same across all 450 versions except for the text code part. Is there a way to run a script so that way I can have the posters created for each text code with out having to manually copy and paste the code into the poster and then save the poster as its own PDF. I feel like this would be very time consuiming.

TOPICS
Scripting
799
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 08, 2017 Nov 08, 2017

Where are the codes?

You can use the data merge InDesign feature.

Em 8 de nov de 2017 16:19, "ryant94297198" <forums_noreply@adobe.com>

escreveu:

Adobe Community <https://forums.adobe.com/?et=watches.email.thread>

InDesign Type Scripting

criado por ryant94297198

<https://forums.adobe.com/people/ryant94297198?et=watches.email.thread>

em InDesign Scripting - Visualize a discussão completa

<https://forums.adobe.com/message/9955686?et=watches.email.thread#9955686>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 08, 2017 Nov 08, 2017

I have them in an excell spread sheet currently but can format them however I need to

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 08, 2017 Nov 08, 2017

Excel is the best way to deal with them.

Do you know the data merge feature?

There is a lot of videos on YouTube showing how to easily work with.

Your case is very simple.

I suggest you to put your layout in the master page, and only the text

frame where the number must be in the pages. Using data merge, InDesign

will automatically fill this text frame and create the pages for you.

After that, you just need to export the pages as PDFs. There is a script

that allow you to export each page as a separate PDF file.

During you deal with the data merge task, I'll find this script for you. I

don't remember who wrote the code. But I have it here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 08, 2017 Nov 08, 2017

I dont know the data merge feature but will look it up on youtube. Can you send the script that you have so i can run it

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 08, 2017 Nov 08, 2017

I don't think you need a script at all. If the poster is the same on all pages except for some text, which comes from a spreadsheet, then place the image content on a master page and let the text run in on regular pages. Apply a text style with a Next Page Break at the top, or insert page breaks with search-and-replace, and you're done.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 08, 2017 Nov 08, 2017

I suggested the script just to export each page as a separate PDF file.

Your solution is very clever than mine.

He can also set the paragraph style to start paragraphs on next text frame and let the text flows through the entire document.

And, with the new object style options available in CC 2018, InDesign will deal with the size and positioning of that text frame in each page.

Great.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2017 Nov 09, 2017
LATEST

The script that lf.corullon (Luis) is referring to is one I wrote: data merge to unique named file scripts (available from the downloads page of my website: https://colecandoo.com/downloads/ ). So you would have the poster and then apply the unique code wherever it needs to appear as a data merge field, and then run my script and apply the field from the database that needs to be the filename. There are videos on my website showing how the script works.

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines