Move 1 pica
Trying to come up with a script that moves a selected page item (text frame, graphic frame, etc), or many page items (eventually), 1 pica to the right (to start, will eventually have many scripts attached to keyboard shortcut for every direction)?
The below script is what I have so far. You would think it would be straight forward, but with everything I’ve read I’m left scratching my head on this one.
Any help is very much appreciated. Cheers.
var myPageItem = app.activeDocument.selection[0];
myPageItem.TransformationMatrix.translateMatrix.properties = {
horizontalTranslation:("1p"),
verticalTranslation:(0),
};
