7 Replies Latest reply on Jun 3, 2009 1:42 AM by AdobeScripts

    [CS1][CS2][CS3][CS4][VB][VBS] flipped GraphicLines - bug ...

    AdobeScripts Level 3

      hi

       

      could you please run this script:

       

      set myindi=createobject("InDesign.Application")
      set mydoc=myindi.activedocument

       

      for a=1 to 10
          set myLine = mydoc.pages.item(1).graphiclines.add
          myline.geometricbounds = array(0,50,200,a*10)
      next

       

      (I think converting it to JS shouldn't be a problem)

      script "should" draw 10 lines from (50,0) to (a*10,200) - ten lines starting in the SAME point and going down - something like this  /|\

       

      could anybody please tell me WHY result is totally insane ?

       

      robin

       

      www.adobescripts.co.uk