Hello!
I am working on a small applescript which I will be using in Automator, however I can’t for the life of me figure out how to script in telling the word doc to automatically center everything (text and images).
I have the following applescript which sets up the word doc in the margins and orientation I need, but now I just need to figure out how to center all the contents.
tell application "Microsoft Word"
set orientation of page setup of section 1 of active document to orient landscape
set pmRpt to page setup of active document
set left margin of pmRpt to (inches to points inches 0.85)
set right margin of pmRpt to (inches to points inches 0.95)
set top margin of pmRpt to (inches to points inches 1.5)
set bottom margin of pmRpt to (inches to points inches 1)
end tell
Can anyone help me?
Thanks!!!