Adobe 26001360 Scripting Guide - Page 188
Photoshop options, Table 4.65, Photoshop options - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 188 highlights
188 AppleScript Reference repeat with aFile in fileList tell application "Finder" to set fileName to name of aFile set newFilePath to destinationPath & fileName & ".pdf" tell application "Illustrator CS" open aFile save current document in file newFilePath as pdf ¬ with options {class:PDF save options ¬ , compatibility:Acrobat 5 ¬ , preserve editability:true} 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 destinationFolder to choose folder with prompt "Destination folder?" SaveFilesAsPDF(fileList, destinationFolder) Photoshop options You can supply options when opening a Photoshop file. See the open command in the command reference for additional details. Table 4.65 Photoshop options - Properties Property R/O Value type best type class container default type R/O type class R/O type class R/O reference R/O type class What it is The best type for the object's value The object's class The object's container The default type for the object's value 12 Aug 03