views:

31

answers:

1

I am trying to batch convert some .doc files to .pdf I am pretty sure I've got the concept right, I just do not know how to reference the format to change the file format when I "Save As"

set F to choose folder tell application "Finder" set P to (files of entire contents of F) repeat with I from 1 to number of items in P set this_item to item I of P as alias tell application "Microsoft Word" activate open this_item save as active document file format format PDF close window 1 end tell end repeat end tell

Thanks

A: 

A little google searching would have turned up this...

which is basically the whole script you're trying to write.

regulus6633