While I could have written this script three times over using geometricBounds, every now and then I recall the heated discussions with the Adobe engineer who called us all idiots for not using reframe, so I give it another go and remember why I was so heated all that time ago. frame = app.selection[0]; page = app.documents[0].pages[0]; pBounds = page.bounds; $.writeln("pBounds: " + pBounds); // => pBounds: 0,0,792,612 frame.reframe(CoordinateSpaces.spreadCoordinates, [[pBounds[1], pBounds[0]],[pBounds[3],pBounds[2]]]); $.writeln("frameBounds: " + frame.geometricBounds); // => frameBounds: 396,0,1188,612 I created a new document and set the rulers to points. Drew a text frame and ran the above script. Instead of moving the frame to the top-left corner of the page and resizing to match the size of the page, it did what's indicated in the comments above. The frame is the right size, it's just halfway down the page instead of at top-left. I tried this variation (newly available in CS6): frame = app.selection[0]; page = app.documents[0].pages[0]; pBounds = page.bounds; $.writeln("pBounds: " + pBounds); // => pBounds: 0,0,792,612 frame.reframe(CoordinateSpaces.pageCoordinates, [[pBounds[1], pBounds[0]],[pBounds[3],pBounds[2]]]); $.writeln("frameBounds: " + frame.geometricBounds); // => frameBounds: 302.625,253.875,1094.625,865.875 And this produces gobbledegook, although again, the frame is the right size. Just in the wrong place, off by some random amount. I think I'll go back to using geometricBounds. But can anyone explain this? Dave
... View more