Adobe 26001360 Scripting Guide - Page 109
antialiasing:true ¬, artboard clipping:false ¬
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 109 highlights
Adobe Illustrator CS Scripting Guide 109 tell application "Finder" to ¬ set fileName to name of aFile set newFilePath to destinationPath & fileName & ".gif" tell application "Illustrator CS" open aFile export current document to file newFilePath as GIF with options ¬ {class:GIF export options ¬ , color count:256 ¬ , color reduction:adaptive ¬ , information loss:0 ¬ , color dither:none ¬ , dither percent:100 ¬ , web snap:0 ¬ , transparency:false ¬ , interlaced:false ¬ , matte:true ¬ , matte color:{red:128, green:0, blue:60} ¬ , horizontal scaling:50.0 ¬ , vertical scaling:50.0 ¬ , antialiasing:true ¬ , artboard clipping:false ¬ , saving as HTML:false} close current document saving no end tell end repeat end ExportFilesAsGIF -- 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 destinationFolder to choose folder with prompt "Destination folder?" ExportFilesasGIF(fileList, destinationFolder) 12 Aug 03