Copy link to clipboard
Copied
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:
Copy link to clipboard
Copied
The spread is the .parent of the activePage:
Copy link to clipboard
Copied
Hmm, okay, if what you're saying is true, then I must overlooked at the document length is hard-coded for each spread page. I'm drawing guides on the actively selected page, but according to the rulers, the same "length" or "distance" of each guide remains the same regardless of which page is actively selected.
Is there perhaps code that can get the dimensions of an actively selected page? How do I sort through this to draw guides in whichever page is active of the selected spread?