Increase Slug Area

Community Beginner ,
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

121

Likes

translate

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

Engaged , 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; 

Likes

translate

Translate

Translate
Engaged , 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...

Likes

translate

Translate

Translate
Engaged ,
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;

 

Likes

translate

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 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...

 

Likes

translate

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
Adobe Community Professional ,
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

Likes

translate

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

Copy link to clipboard

Copied

Thank You

Likes

translate

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
Adobe Community Professional ,
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 )

Likes

translate

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 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... 

Likes

translate

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