1 Reply Latest reply on Apr 12, 2013 6:24 AM by Piotr Nowicki

    index property CS4

    Piotr Nowicki

      Hi there,

       

      I have issue with index property.

       

      Running this script with this same document o have different index values for rectangles.

       

      frames = doc.rectangles;

       

      for (var i=0;i<frames.length;i++) {

              var frame = frames[i];

             $.writeln(frame.id+" "+frame.index+" "+frame.label);

          }

       

      desktop Indesign

      33175 0 i12

      33176 1 i6

      33177 2 i9

      33178 3 i3

      33272 4 i10

      33273 5 i4

      33274 6 i7

      33275 7 i1

      33465 8

      33460 9 i11

      33461 10 i5

      33462 11 i8

      33464 12 i2

       

      Indesign Server

      33175 4 i12

      33176 5 i6

      33177 6 i9

      33178 7 i3

      33272 8 i10

      33273 9 i4

      33274 10 i7

      33275 11 i1

      33465 12

      33460 0 i11

      33461 1 i5

      33462 2 i8

      33464 3 i2

       

      So index on Server is different. Index property on desktop edition works well and can be used as z-index.

       

      Is there workaround for this?

       

      Regards

       

      Piotr