Adobe 26001360 Scripting Guide - Page 120
group item, Notes, Example 20.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 120 highlights
120 AppleScript Reference Notes This class is used to define a record which contains the tint value of a gray color. It is used for specifying and retrieving color information from an Illustrator document or from page items in a document. Gray colors are specified using a real value that ranges from 0.0 to 100.0 for the tint of color, where 0.0 represent white and 100.0 represents black. Example 20.1 This example demonstrates how to create a gray color swatch. -- Create a new gray color swatch (35% black) in the current document property pSwatchName : "35% Gray Swatch" tell application "Illustrator CS" if not (exists swatch pSwatchName in current document) then make new swatch at beginning of current document with properties ¬ {name:pSwatchName, color:{gray value:35.0}} end if end tell group item, group items A grouped set of art objects. Note: The group item class inherits all valid properties from the page item class. Table 4.31 group item, group items - Elements Element: compound path item graph item group item mesh item page item path item placed item Refer to by: name, index, before/after, range, test name, index, before/after, range, test name, index, before/after, range, test name, index, before/after, range, test name, index, before/after, range, test name, index, before/after, range, test name, index, before/after, range, test 12 Aug 03