Skip to main content
Robert at ID-Tasker
Legend
August 5, 2023
Question

Breaking up pages through scripting

  • August 5, 2023
  • 1 reply
  • 195 views

Here is how to do it manualy:

 

https://creativepro.com/breaking-up-pages-with-the-page-tool/

 

But I don't see a way to do it through scripting??

 

Function Move([To As idLocationOptions = idAtEnd], [Reference], [Binding As idBindingOptions = idDefault]) As Page
Member of InDesign.Page
Moves the page.
Return value: The moved page.
To: The new location of the page relative to the reference object or within the document or spread. .
Reference: The reference object. Note: Required when the to parameter value specifies before or after. Type: Page or Spread.
Binding: The location of the binding spine in spreads.

 

There is no option to enter coordinates?

 

Property Bounds As Variant
read-only
Member of InDesign.Page
The bounds of the Page, in the format [y1, x1, y2, x2]. Type: Array of 4 Units (Doubles or Strings)

 

Read-only so can't be repositioned...

 

This topic has been closed for replies.

1 reply

m1b
Community Expert
Community Expert
August 6, 2023

Hi @Robert at ID-Tasker, have you tried Page.reframe(boundsArray)? I haven't tried it but it seems promising.

- Mark

Robert at ID-Tasker
Legend
August 6, 2023

Must have missed that - will try, thanks.