Script Illustrator CS3 to save as PDF
Script Illustrator CS3 to save as PDF
- Subject: Script Illustrator CS3 to save as PDF
- From: Charlie Rieger <email@hidden>
- Date: Wed, 23 Apr 2008 12:49:42 -0400
- Thread-topic: Script Illustrator CS3 to save as PDF
Title: Script Illustrator CS3 to save as PDF
When running this script from Illustrator CS3 the resultant pdf files are not compressing linked eps files from Photoshop CS3. In fact, they seem to be losing their compression entirely – the jpeg encoded eps (link in Illustrator) weighs in at about 45MB, and the Applescript generated pdf is about 900MB. Saving files manually from Illustrator CS3 as a pdf with the same settings as the script behaves correctly.
Any suggestions?
Charlie
tell application "Adobe Illustrator"
with timeout of 900 seconds
activate
open this_item without dialogs
try
save current document in file newFilePath as pdf ¬
with options {class:PDF save options, compatibility:Acrobat 6, preserve editability:true, color resample:bicubic downsample, color downsampling:20, color compression:automatic JPEG medium}
end try
end timeout
close current document saving no
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden