Does anyone know of an applescript that will convert all images to pdf. The images need to be read by Acrobat Reader.
Cheers
Does anyone know of an applescript that will convert all images to pdf. The images need to be read by Acrobat Reader.
Cheers
You can try PStill http://www.stone.com/PStill/PStill.html
Setup your PDF options, drag & drop all your images onto the conversion window and wait!
You might also try installing ImageMagick via Fink. It’s a command line tool and it converts pretty much any image type to pdf. (You would also need to install Ghostscriipt)
And it’s free!!
HTH -john
You can use Apples built in “Convert To PDF.scpt”. It works with these file types. “JPEG”, “GIFf”, “PICT”, “TIFF”, “PDF”, “TEXT”
Library/Scripts/Printing Scripts/Convert To PDF.scpt.
Just Highlight a whole mess of files and run the script from script editor.
I’ve made a Folder action out of it. But I’m still trying to change the destination of where the files are saves. The shell script handles this. At the moment they save to the root drive. I think I’m going to submit this on another post.
on adding folder items to this_folder after receiving these_files
repeat with ThisFile in these_files
tell application "Finder" to set theString to name of ThisFile as string
set terminalCommand to ""
set convertCommand to "/System/Library/Printers/Libraries/./convert "
set newFileName to theString & ".pdf" as string
set thisPath to "/In/" & theString as string
set terminalCommand to convertCommand & "-f " & "\"" & thisPath & "\"" & " -o " & "\"" & newFileName & "\"" & " -j \"application/pdf\""
do shell script terminalCommand
tell application "Finder"
delete file theString of folder "Panther HD:In:"
end tell
end repeat
end adding folder items to