11 Replies Latest reply on Sep 9, 2011 8:24 AM by Laubender

    How to apply a paragraph style to a selected paragraph

    Jörg Schmalenberger

      Hi,

       

      I just can't figure out how to apply an existing paragraph style named "Teaser" to a selectet paragraph

       

      var myStory = app.selection[0].parentStory;

      myStory.applyParagraphStyle("Teaser ",true);

       

      Won't work. Any ideas?

       

      Thanks!