View Single Post
 
Old 02-22-2010, 05:58 PM
chrisxyz chrisxyz is offline Mac OS X Microsoft Office 2008 for Mac
Novice
 
Join Date: Feb 2010
Posts: 1
chrisxyz is on a distinguished road
Default Saving as PDF causes prompt for printable region out of range

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
Reply With Quote