Rick Schaut discusses the implementation of AppleScript into using Word 2004. Particularly helpful are the follow-up posts of Paul Berkowitz in the Feedback/comments section.

Scripting Word