4 Replies Latest reply on Feb 25, 2013 3:11 AM by Erwin Timmerman

    Script to apply a style to currently selected text

    Erwin Timmerman

      I can only find example scripts that work on complete files. What I want, is a script that works on currently selected text.


      If I can create a macro that applies a specific paragraph style to all currently selected paragraphs, or a character style to currently selected text, I can put that style under a shortcut key.


      That way, "emphasis" or "strong" can be put under ctrl-b, for example.


      If there is another way to achieve the same (in RH 9), I would be interested to hear it as well.


      Kind regards,


      Erwin Timmerman