I have a script which exports a document as an idml file.
I'd like to set the page color label of all the pages in the exported file to the same color.
Is this possible with scripting? The API documentation only has an option for no color or master page color.
The overall plan is to import the idml into an active document and for it to retain its page color label.
basically you can use three options for the value of pageColor :
Array of 3 Reals (0 - 255) for defining an RGB color *
* Be aware, that there is a bug with InDesign before version CC 2014.1 ( I'm not sure about the exact version number ), that will crash InDesign, if you are using 3 Reals and the page with that particular page color is showing up in the Pages panel.