6 Replies Latest reply on Dec 19, 2008 8:35 PM by (Dave_Saunders)

    Help Please!

    sglinert Level 1
      I couldn't get an answer from the forums about the DoScript that didn't, so I wrote my own script to do the search and replaces. That worked just fine.

      So I decided to move on to another script that deletes styles.

      What's wrong with this?

      var myDocument = app.activeDocument;

      //Remove Extraneous Styles

      myDocument.paragraphStyles.item("Balloon Text").remove(myDocument.paragraphStyles.item("Body Text"));

      The documentation and Object Browser are almost useless for a beginner.

      Can someone please help? I would really appreciate it.