views:

164

answers:

1

Is there a way to print all of the Microsoft Word documents (.doc) in a folder using AppleScript?

+1  A: 

This is untested, since I don't have my Mac at work, but you get the idea...

tell application "Finder"
try
set the source_folder to choose folder with prompt ¬
"Pick a folder containing the documents to process:"
set these_files to every file of the source_folder
repeat with 
tell application "Microsoft Word"
repeat with doc in these_files
print-out doc
end repeat
end tell
end tell
Chris McCall