Script to move all objects to pasteboard
Hi friends,
Was wondering if anyone could help me out. In our publications, we have content automatically generated and placed page by page throughout the InDesign file and was wondering if there was a way to write a script to automatically move all content onto the pasteboard (left or right side, depending on which side of the spread the content is on). I'm very new to the scripting world and don't have much of a background in it at all, but what we've been using is the following script that I pieced together (it may not even be the most efficient way to accomplish this):
var myObj = new Array;
myObj = app.selection;
app.activeWindow.activeSpread.groups.add(myObj);
app.activeWindow.activeSpread.groups.item(0).select();
var s =app.activeDocument.selection[0];
s.move([-8,-.25])
s.ungroup();
Users just select all on the left side of the spread, run the script and it moves everything off the pasteboard. We have a similar one for the right side too. Is there a way to automate this so users don't have to go page by page running this to move everything onto the pasteboard
Thank you for your patience!
