Skip to main content
magicgenie
Known Participant
April 30, 2025
Answered

Page numbering not correct

  • April 30, 2025
  • 2 replies
  • 433 views

Hi everyone, can anyone please help, I must have done something wrong, as my Page numbering has gone wrong it is going 3, then 2, instead of 2, then 3, for example. See attached. Kind regards Alex

Correct answer Laubender

Hi @magicgenie ,

you have to change the page binding of your document.

With ExtendScript (JavaScript) the following code will do that for your active document:

app.documents[0].documentPreferences.pageBinding = 
PageBindingOptions.LEFT_TO_RIGHT;

 

See what options are available for pageBinding:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#PageBindingOptions.html

 

How to use ExtendScript script code, save it to a script file and install it so that you can run it with InDesign:

https://creativepro.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post/

 

Regards,
Uwe Laubender
( Adobe Community Expert )

2 replies

LaubenderCommunity ExpertCorrect answer
Community Expert
April 30, 2025

Hi @magicgenie ,

you have to change the page binding of your document.

With ExtendScript (JavaScript) the following code will do that for your active document:

app.documents[0].documentPreferences.pageBinding = 
PageBindingOptions.LEFT_TO_RIGHT;

 

See what options are available for pageBinding:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#PageBindingOptions.html

 

How to use ExtendScript script code, save it to a script file and install it so that you can run it with InDesign:

https://creativepro.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post/

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Community Expert
April 30, 2025

YES - forgot about this - thank you for sharing. 

Community Expert
April 30, 2025

Looks like it's the ME version of InDesign - or at least done in an ME version which is the Middle East version.