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

Increase Slug Area

Engaged ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

Is there any script to increase the slug area for InDesign.

 

InDesign has a limit to how big the slug area can be when setting up the document.

TOPICS
How to , Scripting

Views

586

Translate

Translate

Report

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

correct answers 2 Correct answers

Enthusiast , Feb 01, 2021 Feb 01, 2021

Try (200 being the size of slug in your documents measurement unit):

 

app.documents[0].documentPreferences.documentSlugUniformSize = true;
app.documents[0].documentPreferences.slugTopOffset = 200;

 

Votes

Translate

Translate
Enthusiast , Feb 01, 2021 Feb 01, 2021

Or if you want different sizes around, change 0 to whatever:

app.documents[0].documentPreferences.documentSlugUniformSize = false;
app.documents[0].documentPreferences.slugTopOffset = 0;
app.documents[0].documentPreferences.slugBottomOffset = 0;
app.documents[0].documentPreferences.slugInsideOrLeftOffset = 0;
app.documents[0].documentPreferences.slugRightOrOutsideOffset = 0;


I really find it interessting that the limit doesn't seem to exist in scripting. I thought maybe it causes issues on PDF exp

...

Votes

Translate

Translate
Enthusiast ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

Try (200 being the size of slug in your documents measurement unit):

 

app.documents[0].documentPreferences.documentSlugUniformSize = true;
app.documents[0].documentPreferences.slugTopOffset = 200;

 

Votes

Translate

Translate

Report

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 ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

Or if you want different sizes around, change 0 to whatever:

app.documents[0].documentPreferences.documentSlugUniformSize = false;
app.documents[0].documentPreferences.slugTopOffset = 0;
app.documents[0].documentPreferences.slugBottomOffset = 0;
app.documents[0].documentPreferences.slugInsideOrLeftOffset = 0;
app.documents[0].documentPreferences.slugRightOrOutsideOffset = 0;


I really find it interessting that the limit doesn't seem to exist in scripting. I thought maybe it causes issues on PDF export but doesn't seem so...

 

Votes

Translate

Translate

Report

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 ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

I thought maybe it causes issues on PDF export but doesn't seem so...

 

You will get an export error and the PDF will get cropped—the lower 200"x200" left corner of the slug exports and there is no page:

 

Screen Shot 18.png

Votes

Translate

Translate

Report

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
Engaged ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

LATEST

Thank You

Votes

Translate

Translate

Report

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 ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

Hi Rob,

in Jens' case the 200 is meant in millimeters and not in inches, I think.

To make that obvious, and not rely on the meassurement system(s) set with the rulers, one could do it like that:

 

 

app.documents[0].documentPreferences.documentSlugUniformSize = true;
app.documents[0].documentPreferences.slugTopOffset = "200 mm";

 

 

And yes, there is a maximum value of a PDF page size one could export with InDesign.

 

Regards,
Uwe Laubender

( ACP )

Votes

Translate

Translate

Report

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 ,
Feb 02, 2021 Feb 02, 2021

Copy link to clipboard

Copied

Yes, it's millimeters. I tried it with values within the PDF page size limit, which is – pure coincidence – 200 inches.

But nevertheless, the limit in InDesign's UI is 6 inches – for whatever reason... 

Votes

Translate

Translate

Report

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