.doc to pdf

hi all,

can anyone give me a script that will take a word document and convert it to pdf. it needs o be in applescript. thanks!!!

hi all,

this is as far as I got:

tell application “Microsoft Word”

tell application "System Events"
	tell process "Microsoft Word"
		keystroke "p" using {command down}
	end tell
end tell

end tell

It matters what version of MS Word you are using; the Dictionary changed.

You should look at the Activity Monitor (in Applications:Utilities) to see what System Events calls the process. In the case of Word X it’s just “Word”.

You can print directly from word. See it’s dictionary.

I have not seen any successful attempts to Save to PDF for later printing. That Print Dialog button doesn’t seem to be reachable with GUI scripting. I think you may be stuck buying software that will do it.