• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Script Illustrator CS3 to save as PDF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Script Illustrator CS3 to save as PDF
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Script to add alias to dock
  • Next by Date: Re: Tiger & Leopard Together
  • Previous by thread: Re: Script to add alias to dock
  • Next by thread: Re: Script Illustrator CS3 to save as PDF
  • Index(es):
    • Date
    • Thread