1 Reply Latest reply on Mar 31, 2009 7:26 AM by (Dave_Saunders)

    How to apply a style then a script

      is there a form to apply a paragraph style and a script within the script or with a shortcut key?
        • 1. Re: How to apply a style then a script
          Level 1

          You can certainly run a script with a paragraph selected and have that script apply a paragraph style. And, you could assign a keyboard shortcut to said script.

          For example:

          app.selection[0].appliedParagraphStyle = "MyStyle";

          although it probably would be wise to check that the selection is of a suitable nature.