4 Replies Latest reply on Jul 3, 2014 6:53 PM by Yuliascripting

    Change script from CS4 to CS6

    Yuliascripting

      Hi,

       

      I need to change this script from CS4 to CS6:

       

      myRoundCornerLeftBottomVerticalGreen = myDoc.graphicLines.add (myDoc.layers.item ("Die"));
      myRoundCornerLeftBottomVerticalGreen.geometricBounds = [myPageHeight/2, ".125 in", myPageHeight-.125,  ".125 in"];
      myRoundCornerLeftBottomVerticalGreen.strokeColor = myDoc.colors.item("Proof");
      myRoundCornerLeftBottomVerticalGreen.strokeWeight = "1pt";
      
      var myPathPoint = myRoundCornerLeftBottomVerticalGreen.paths.item(0).pathPoints.add (myDoc.layers.item ("Die"));
      myPathPoint.anchor = [myPageWidth/2, myPageHeight-.125];
      myRoundCornerLeftBottomVerticalGreen.cornerOption = CornerOptions.ROUNDED_CORNER;
      myRoundCornerLeftBottomVerticalGreen.cornerRadius = ".125 in";
      

       

       

       

      Thank you.