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

Scripting the lenght of a page (for smooth scrolling in DPS)

Enthusiast ,
Aug 31, 2012 Aug 31, 2012

Hi, folks

I am quite a layman in this scripting world but I have a question that I would really need answered. It's not so much a question of 'how' but one of 'is this possible with scripting'?

We want to set up a system where the pages would be automatically created with XML input from a short set of templates so that they end as indesign documents in a given folder.

We have a very clear idea now on how to do that. But now, I have to take a design decission: Should I try using "one-page articles" with pages of variable lengt depending on the size of the body text frame? (so that they make afterwards smooth scrolling in Adobe DPS)?

What refrains me from doing that is that body text will be variable in size and lenght. So... I cannot predetermine which length must have the main frame in the pages and, consequently, I cannot predetermine the lenght of the pages (expressed as top margin + body frame length + bottom margin).

The question for scripting: Is it possible that you may run a script that does this?

- Text is input into the main body text frame via XML import.

- Frame is resized so that it fits with content (no more, no less).

- Page is then resized so that (expressed as top margin + body frame length + bottom margin) it keeps designed proportions.

I hope what I want is clear enough, because that is the doubt that is stopping me from trying the one long page winding way. Any idea, please?

Thanks a lot

Gustavo (Posting from Madrid)

TOPICS
Scripting
853
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
Explorer ,
Sep 10, 2013 Sep 10, 2013
LATEST

Hi Gustavo,

yes you can accomplish what you are describing with InDesign scripting.

Instead of creating a smooth scrolling page you could even create a frame with scrollable

content on the template an fill the scrollable content with text.

That way you will not have empty spots on the page.

That sounds like an exiting project which combines InDesign, DPS and scripting skills.

Stefan

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