Applying a script to a defined page range
Hi,
I have a script that switches pages from the left to the right hand side of the spine. Very useful!
But I'd like to define a range of pages to apply the script. Usually after page x, until the end of the document for example.
Here's the script:
app.documents[0].documentPreferences.pageBinding = app.documents[0].documentPreferences.pageBinding == PageBindingOptions.LEFT_TO_RIGHT ? PageBindingOptions.RIGHT_TO_LEFT : PageBindingOptions.LEFT_TO_RIGHT;
Any thoughts on how this can be achieved would be greatly appreciated!
Thanks,
Joe