I am using applescript to automate the converting of word documents to pdf. It mostly works with something like this:
tell application "Microsoft Word"
activate
open ":a.doc"
change file open directory path "

df_resumes"
save as active document file name "a.pdf" file format format PDF
close active document saving no
end tell
I hit a snag with the occasional document that wont save as some aspect like header or footer is out of printable range. This obviously messes up the automation :-}
Anyone have a clue how I can suppress these types of prompts?
Best
C