Answered
Resize a selected pages in InDesign using javascript
Hi Team,
Please let me know how to change a particular page size in the document using javascript.
Thanks
Hi Team,
Please let me know how to change a particular page size in the document using javascript.
Thanks
Hi @Balaji Murugesan , Use the resize() method. Here‘s an example that resizes the active page:
var w = 500
var h = 950
var p = app.activeWindow.activePage;
p.resize (CoordinateSpaces.INNER_COORDINATES,AnchorPoint.CENTER_ANCHOR,ResizeMethods.REPLACING_CURRENT_DIMENSIONS_WITH,[w,h]);Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.