Hi all,
a time ago I assembled a script what allowed me to save EPS-files from customers into AI-files, for Illustrator CS2. Now I am using CS3, I have some difficulties to adapt the script.
The settings I like to have in the script are the following:
Illustrator options:
Version CS3
Fonts: Subset fonts when percent of characters used is less than: 100%
Options: Create PDF Compatble File
Embed ICC Profiles
Use Compression
Here’s the original script:
tell application “Finder”
set sourceFolder to choose folder with prompt “Ernie, kies eerst de folder met de EPS-files”
set destFolder to choose folder with prompt “En waar moet ik de Illustratorfiles bewaren?”
set FileList to every file of folder sourceFolder as alias list
set fileCount to count folder sourceFolder
if fileCount is not 0 then
repeat with AFile in FileList
set fName to name of AFile
set newFilePath to destFolder & fName as string
tell application “Illustrator CS2”
activate
open AFile with options {update legacy text:true} without dialogs – This intended to avoid the freeze experienced when processing files containing legacy text elements.
save current document in file newFilePath as Illustrator with options {compatibility:Illustrator 12, compressed:false, font subset threshold:0.0, PDF compatible:true}
close current document saving no
end tell
end repeat
end if
end tell
activate me
display dialog “Ernie, de Illustratorfiletjes zijn klaar”
Who can help me out?
Thanx!
Kris