5 Replies Latest reply on Oct 16, 2013 12:03 AM by Trevorׅ

    Select every character which does not have either of two character styles applied [AS]

    lithodora

      Seems straight forward but I'm not wrapping my head around phrasing this properly.

       

      I need to get every character which does not have either character style applied....

       

      Assume thetext is appropriately a text frame already assigned.

       

      set thisbody to (every character of thetext whose name of applied character style is not "header" or "price" as string)

      ---This does not work

       

       

      The long way to do this would be to get the text which has the styles I want to remove applied and then remove it from the string, but there should be an easier way to do this.