Reply To: Is it possible to move items across entire multi-page document simultaneously?

Home Page / Forums / General InDesign Topics (CLOSED) / Is it possible to move items across entire multi-page document simultaneously? / Reply To: Is it possible to move items across entire multi-page document simultaneously?

#61275

As with a lot of repeating stuff, Javascript can help you here! This short script will move all items to the left by '-4' in your current units. (So if your setup is in inches, you might want to start with a somewhat smaller value :D )

Change the '-4' into whatever you want — negative moves to the left, positive to the right.

if (app.version < “6”)
nudgeAll();
else
app.doScript(nudgeAll, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, “Nudge All”);

function nudgeAll ()
{
for (i=0; i<app.activeDocument.allPageItems.length; i++)
try {
app.activeDocument.allPageItems[i].move (undefined, [4, 0]);
} catch (e) {}
}

(Edit: hmm, on hindsight I'd better add an undo for this!)

This article was last modified on December 17, 2011

Comments (0)

Loading comments...