Adobe 26001360 Scripting Guide - Page 82
CMYK color info, Valid Commands
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 82 highlights
82 AppleScript Reference set the tracking of character style "Big Red" of document 1 to -50 set the capitalization of character style "Big Red" of document 1 to all caps set the fill color of character style "Big Red" of document 1 to {class:RGB color info, red:255, green:0, blue:0} -- 'apply character style' is the event. -- 'style character style "Big Red" of document 1' is the character style that will be applied. -- note that character styles must be applied to text ranges. apply character style character style "Big Red" of document 1 to the text range of text frame "text 1" of document 1 apply character style character style "Big Red" of document 1 to the text range of text frame "text 2" of document 1 apply character style character style "Big Red" of document 1 to the text range of text frame "text 3" of document 1 end tell CMYK color info A CMYK color specification, used to specify a CMYK color in conjunction with the color property. Note: The CMYK color info class inherits all valid properties from the color info class. Table 4.7 CMYK color info - Properties Property R/O Value type What it is cyan magenta yellow black real real real real The cyan color value as a value in the range 0.0-100.0 The magenta color value as a value in the range 0.0-100.0 The yellow color value as a value in the range 0.0-100.0 The black color value as a value in the range 0.0-100.0 Valid Commands none 12 Aug 03