4 Replies Latest reply on Mar 11, 2008 11:47 AM by KeithGilbert

    [JS CS3] Find/Change "[Basic Paragraph]" style

      I'm trying to find all occurances of the [Basic Paragraph] style and replace them with [No Paragraph Style]. I'm using:

      app.findTextPreferences.appliedParagraphStyle = "[Basic Paragraph Style]";
      app.changeTextPreferences.appliedParagraphStyle = "[No Paragraph Style]";

      I get the message "Invalid value for set property 'appliedParagraphStyle'. Expected String, ParagraphStyle or NothingEnum enumerator, but received "[Basic Paragraph Style]"."

      I've tried every combination of brackets, no brackets, quotes, no quotes, etc. It doesn't seem like this can be scripted, even though it can be done via find/change in InDesign. Am I banging my head against the wall? Does anyone know if this can be done?