Invoking Word through Terminal

O

ommichaels

It may be a silly question, but how do I invoke Word from the command
line (in Terminal)?

Reason for my question is that for shell or other scripts to start Word
this is needed. Simply doing a "./Microsoft Word in the Microsoft
Office 2004 folder does not work. I also tried symlinks (like "Word"
directly in the Apllications folder, but to no avail.

I am using ZopeEditManager with Plone. Invoking NeoOfficeJ as editor
for -doc documents works just fine, but Word does not work because the
script cannot start Word.

Olaf
 
J

John McGhie [MVP - Word and Word Macintosh]

Word requires the GUI to run.

Invoke it from AppleScript or VBA. You can't invoke it from Terminal.

Cheers


It may be a silly question, but how do I invoke Word from the command
line (in Terminal)?

Reason for my question is that for shell or other scripts to start Word
this is needed. Simply doing a "./Microsoft Word in the Microsoft
Office 2004 folder does not work. I also tried symlinks (like "Word"
directly in the Apllications folder, but to no avail.

I am using ZopeEditManager with Plone. Invoking NeoOfficeJ as editor
for -doc documents works just fine, but Word does not work because the
script cannot start Word.

Olaf

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 4 1209 1410
 
P

Paul Berkowitz

Word requires the GUI to run.
True.


Invoke it from AppleScript or VBA. You can't invoke it from Terminal.

Of course you can. Take Matt's advice.

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 

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