Adobe 26001360 Scripting Guide - Page 189
Example 44.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 189 highlights
Adobe Illustrator CS Scripting Guide 189 Table 4.65 Photoshop options - Properties Property R/O Value type pixel aspect ratio correction boolean preserve image maps boolean preserve layers boolean preserve slices boolean properties record What it is If true, the imported images which have a non-square pixel aspect ratio should be adjusted If true, image maps should be preserved when the document is converted; default: true If true, layers should be preserved when the document is converted; default: true If true, slices should be preserved when the document is converted; default: true All of the path item's properties returned in a single record (properties which are individually read-only remain so in this record). Example 44.1 ---- tell me activate set theFile to choose file with prompt "Select a Photoshop file that contains layers:" end tell tell application "Illustrator CS" activate set photoshopOptions to {class:Photoshop options, preserve layers:true, pixel aspect ratio correction:false} set IllustratorPreferences to {class:Illustrator preferences, Photoshop file options:photoshopOptions} open theFile --with options {class:Photoshop options, preserve layers:false, pixel aspect ratio correction:false} end tell 12 Aug 03