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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top