Adobe 26001360 Scripting Guide - Page 201
PPD properties, Example 50.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 201 highlights
Adobe Illustrator CS Scripting Guide 201 Example 50.1 -- PPD File --- Make a new document -- Get the PPDs -- Get the name, PS Level, and file path of the first PPD -- Make a new text frame with the PPD info as its contents -- tell application "Illustrator CS" activate make new document set PPDFiles to PPDs set PPDName to name of item 1 of PPDFiles set PPDProperties to get properties of item 1 of PPDFiles set PPDLevel to language level of PPDProperties set PPDPath to file path of PPDProperties set textContents to PPDName & return & "PostScript Level " & PPDLevel & return & "PPD Path: " & PPDPath as string make new text frame in document 1 with properties {contents:textContents, position:{20, 600}} end tell PPD properties Specifies information about the PPD file. Table 4.73 PPD properties - Properties Property R/O Value Type What it is file path language level screens spot functions Unicode text Unicode text list of separation screen list of screen spot functions Path specification for the PPD file The PostScript language level List of color separation screens List of color separation screen spot functions 12 Aug 03