Question
Problem selecting spread in a script
I have a script that adds guides at proportions of a document's length.
But, it doesn't seem to recognize the active Spread of an active page where there's two spreads joined into a page, ya know, the default.
I use a simple for-loop to draw the guides using proportions defined earlier in the script:
for (var i = 0; i < 5; ++i) {
app.activeWindow.activePage.guides.add({name:"Blah"+i, location: docWidth*Number(fractalSubdivisions[i]), orientation: HorizontalOrVertical.VERTICAL});
}
How do I get this code to distinguish between active Page and active Spread?
