Created
February 26, 2019 10:59
-
-
Save cooldtp/8ac8b57f7198185ef5a39154d14c35fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//refer to https://indesignsecrets.com/starting-a-document-on-a-left-hand-page.php | |
if(app.documents.length !== 0){ | |
app.doScript(function() { | |
try { | |
var d = app.activeDocument; | |
p1 = d.pages[0]; | |
p1.appliedSection.continueNumbering = false; | |
p1.appliedSection.pageNumberStart = 2; | |
d.spreads.everyItem().allowPageShuffle = false; | |
p1.appliedSection.pageNumberStart = 1; | |
} catch (e) {} | |
}, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "FirstPage_LeftHand"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment