9 Replies Latest reply on Apr 30, 2009 10:32 AM by Harbs.

    [CS3] [JS] error "everyItem() is not a function"

    Nye Hughes

      I am trying to adapt Dave Saunder's ChangeCaseOfSelectedParaStyle to work with CS3 an CS4 natively without versioning. See code extract below:

       

      myDoc = app.activeDocument;

      myStyles = myDoc.allParagraphStyles;

      myStringList = myStyles.everyItem().name;

       

      However this throws the following error: myStyles.everyItem is not a function

       

      Any ideas? (or Dave, if you see this have you already have an adapted version).

       

      Nye