I have a document in InDesign with a spread of pages with different width-dimensions. Now i want to add vertical guidelines with a JS-Script. Therefore i have to add pageWidth + pageWidth (of a specific page).
But i only know how to get the document dimensions (pageHeight and pageWidth. But i have different pages, and obviously different dimensions.
var pageWidth = app.activeDocument.documentPreferences.pageWidth
will give me the document page width
but i need something like this (fiction)
var pageWidth = app.activeDocument.pages[0].documentPreferences.pageWidth
Thanks for your help