2 Replies Latest reply on Nov 12, 2009 1:00 AM by franzi_ska

    [CS4/JS] get guide position using script label

    franzi_ska

      Hello Scripters,

       

      I am trying to get the position of some specific guides of my masterspread, the following code snippet doesnt work:

       

           var myMasterSpread = myDocument.masterSpreads.itemByName("A-Master");
           var myX1 = myMasterSpread.guides.itemByName("Guide_left").location;
      

       

      What could be wrong?

       

      Thanks in advance for any help!

       

      Franziska