Home Products Download Order Contacts

adobe.illustrator.featurerequests

Subject: Re: Batch conversions (much like Photoshop's Automate function)



Check the scripting forum. Or use this. Cut and paste into the ScriptEditor. Compile and save.

-- fileList is a list of aliases to Illustrator files
-- destFolder is an alias to a folder where PDF files are saved
on SaveFilesAsPDF(fileList, destFolder)
set destPath to destFolder as Unicode text
repeat with aFile in fileList
tell application "Finder" to set fileName to name of aFile
set newFilePath to destPath & fileName
tell application "Adobe Illustrator"
open aFile
save current document in file newFilePath as pdf with options {class:PDF save options, acrobat layers:true, compatibility:Acrobat 6, preserve editability:true, font subset threshold:0.0}
close current document saving no
end tell
end repeat
end SaveFilesAsPDF
-- Call handler
set sourceFolder to choose folder with prompt "Source folder?"
tell application "Finder" to set fileList to every file of folder sourceFolder as alias list
set destFolder to choose folder with prompt "Destination folder?"
SaveFilesAsPDF(fileList, destFolder)

Reply


View All Messages in adobe.illustrator.featurerequests

path:
Batch conversions (much like Photoshop's Automate function) =>

Replies:

Copyright © 2006 WatermarkFactory.com. All Rights Reserved.