2 Replies Latest reply on Aug 9, 2008 4:53 PM by Loic.Aigon

    [JS CS3] How to reach a item in a collection of pageitems whom label is the same ?

    Loic.Aigon Adobe Community Professional
      I had a look through the forum and I didn't find any topic on it.
      I have several pageitems whom label is the same : "LogoBox"
      I can have interesting info such as
      b app.activeDocument.pageItems.count("LogoBox")
      So I can know how many iterations I have
      But now I want to apply a function for any instance and then I just don't get success to access element.

      app.activeDocument.pageItems.item("LogoBox")[0] fails

      And don't see any lead ? A idea ?