Created
June 25, 2010 19:43
-
-
Save Govan/453344 to your computer and use it in GitHub Desktop.
Applescript to batch convert .doc files to .pdf, more details here http://www.leftbrained.co.uk/articles/show/batch-converting-doc-files-to-pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set thefolder to choose folder with prompt "Pick a folder..." | |
tell application "Finder" to set filelist to every file of thefolder | |
repeat with currentFile in filelist | |
tell application "Pages" | |
open currentFile | |
activate | |
save front document in (name of currentFile) & ".pdf" | |
close front document without saving | |
end tell | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment