Reply To: Position new text boxes

#90358
Kathy Cote
Member

Hi,
I trying place my text box on slug in the bottom of page. I can do it. Can you help me?

Thanks again.

My part of code:

width = D;
height = E;

myFrame2=newDoc.textFrames.add();

myFrame2.contents = H;

//Top, Left, Bottom, Right
var Bleed2 = “0.25”;
var Slug2 = “0.5”;

var Y2 = E+Bleed2; //Top
var X2 = 0; //Left
var H2 = E+Slug2; //Bottom
var L2= D; //Right

myFrame2.geometricBounds = [Y2, X2, H2, L2];

This article was last modified on December 7, 2016

Comments (0)

Loading comments...