Adobe 26001360 Scripting Guide - Page 116
graph item, Table 4.28, graph items - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 116 highlights
116 AppleScript Reference tell application "Illustrator CS" if not (exists gradient pGradientName in current document) then set entireGradient to {{midpoint:50.0, ramp point:0.0 ¬ , color:{cyan:0.0, magenta:0.0, yellow:0.0, black:100.0}} ¬ , {midpoint:50.0, ramp point:33.3 ¬ , color:{cyan:0.0, magenta:0.0, yellow:100.0, black:0.0}} ¬ , {midpoint:50.0, ramp point:66.7 ¬ , color:{cyan:0.0, magenta:100.0, yellow:0.0, black:0.0}} ¬ , {midpoint:50.0, ramp point:100.0 ¬ , color:{cyan:100.0, magenta:0.0, yellow:0.0, black:0.0}}} set gradientRef to make new gradient in current document with properties ¬ {name:pGradientName, gradient type:radial, entire gradient:entireGradient} end if end tell graph item, graph items A graph item is a graph or a list of graphs. Note: This object class inherits all valid properties from the page item class. Table 4.28 graph item, graph items - Properties Property content variable properties R/O Value type anything record What it is The content variable to which this graph item is bound All of the graph item's properties returned in a single record (properties which are individually read-only remain so in this record) 12 Aug 03