2 Replies Latest reply on Feb 28, 2010 9:16 AM by igotothegym

    I want this to work with multiple paragraphs

    igotothegym

      Hi all,

      I would like this script to work with a selection of more than one paragraph. When I select more than one, it only applies it to the one I clicked in.

      I was given this script by a cool dude (Ken Grace) from the ID forum. Unfortunately I don't do scripts, neither does he, but you do!

       

      Any help would be greatly appreciated.

       

      Here it is:

       

      ip = app.selection[0].insertionPoints[0];
      ip.appliedParagraphStyle = "your_paragraph_style_name";