I am stuck on how to right align a column of a Microsoft Word table using applescript.
Any advice would be appreciated.
This doesn't work.
osx 10.9.1, Microsoft Word for mac 2011 14.3.9, applescript 2.3
Any advice would be appreciated.
This doesn't work.
Code:
tell application "Microsoft Word"
set txt to selection's text object
set default table separator to tab
set theResult to convert to table txt
set myTable to table 1 of the active document
auto fit behavior myTable behavior auto fit content
set paragraph alignment of {myTable, column 3} to align paragraph right
end tell
osx 10.9.1, Microsoft Word for mac 2011 14.3.9, applescript 2.3
Last edited: