I had a lot of Word documents to convert to PDF files, and I found it annoying that I had to use File » PRint and then pick the Save as PDF option from the pop-up menu for each of the 200 files. So I found a solution: Install the CUPS-PDF module for OS X. This is a virtual PDF printer that looks like a "real" printer to the system, but creates a PDF file when you send a document to it. Make sure to install it correctly in Printer Setup, and (important!) make it your default printer.
Now go into Microsoft Word, and create a new Macro (name: testprintpdfs). Paste in the following code:
Now open all your files in Word, and execute the macro. It will send a direct print command (without the dialog) and close the current document. It will continue to do this until there are no open documents left -- it will finally give an error, but I didn't care about that. Your PDF files should now be located on your desktop in the cups-pdf folder. They will have some junk (__MICROSFT_WORD_) in front, which you can remove with a simple shell script, Automator, or your other favored file renaming tool.
Sub testprintpdfs() ' ' testprintpdfs macro ' batch pdf print test ' For i = 1 To 110 ActiveDocument.PrintOut 'Dialogs(wdDialogFilePrint).Show ActiveWindow.Close Next i End Sub
Mac OS X Hints