Applescript Word. How to create a new style

G

Guy Verville

Hi,

I'm using Word mainly for preparing a text to be imported into
InDesign. I want to do the following action:

1. Create a style named: aStyle
2. Set that style to a certain font
3. Set that style to a certain size.

I can't see where is the command to do so in Applescript Word dictionary.

If the style is already in the document, I have no problem to:

set style of theRange to "aStyle"

But if the document doesn't contain the above mentionned style, nothing
happens.

Any help appreciated.

Guy
 
Top