Adobe 26001360 Scripting Guide - Page 214
screen spot function, Example 59.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 214 highlights
214 AppleScript Reference screen spot function Information about the color separation screen spot function. Table 4.82 screen spot function - Properties Property R/O Value Type name Unicode text spot function Unicode text What it is The color separation screen spot function name The spot function in terms of the PostScript commands Example 59.1 -- PPD Screen Spot Functions --- Make a new document -- Get the PPDs -- Get the name, and spot functions of the first PPD -- For each spot function, get the name and the function -- Display the results of the PPD info in a text frame -- 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 PPDSpotFunctions to spot functions of PPDProperties set PPDSpotFunctionText to "Spot Functions" & return repeat with PPDSpotFunction in PPDSpotFunctions set PPDSpotFunctionName to name of PPDSpotFunction set PPDSpotFunctionTX to spot function of PPDSpotFunction set PPDSpotFunctionText to PPDSpotFunctionText & tab & PPDSpotFunctionName & ": " & PPDSpotFunctionTX & return as string end repeat set textContents to PPDName & return & PPDSpotFunctionText make new text frame in document 1 with properties {contents:textContents, position:{20, 600}} end tell 12 Aug 03