278
tell application "Finder" to set fileName to name of aFile
set newFilePath to destinationPath & fileName & ".pdf"
tell application "Illustrator CS"
open aFile
save current document in file newFilePath as pdf ¬
with options {class:PDF save options ¬
, compatibility:Acrobat 5 ¬
, preserve editability:true}
close current document saving no
end tell
end repeat
end SaveFilesAsPDF
12 Aug 03
AppleScript Reference