Archiwa tagu: DOC

Automator "Run AppleScript" action to convert multiple doc files to pdf using Office (Word) 2011

on run {input, parameters}
repeat with x in input
set the theFilename to the (the x & „.pdf”) as string
tell application „Microsoft Word”
open x
set theActiveDoc to the active document
save as theActiveDoc file format format PDF file name theFilename
close active document
end tell
end repeat
return input
end run