Question
How do add a layer, and add guides to that layer?
I'd like to create a script that adds a layer to my actively selected indesign document.
Something I'm unclear on: does each page in InDesign have its own layers? Or are the layers global across all pages? This will change the script slightly.
The script I tried to get started is this
app.activeDocument.layer.add({name:"Guide Layer"});
but this didn't work.
