Adobe 26001360 Scripting Guide - Page 118
graphic style, Valid Commands, Notes, Example 19.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 118 highlights
118 AppleScript Reference graphic style, graphic styles An graphic style or list of graphic styles. Each graphic style defines a set of appearance attributes that you can apply non-destructively to page items. Graphic styles are contained in documents. Table 4.29 graphic style, graphic styles - Properties Property R/O Value type What it is best type class container default type index name properties R/O type class R/O type class R/O object reference R/O type class R/O integer Unicode text record The best type for the graphic style object's value; always returns reference The graphic style object's class, which is graphic style A reference to the document that contains this graphic style The default type for the graphic style object, which is reference The index of this graphic style The name of this graphic style All of the properties of this object returned as a record Valid Commands • apply • count • delete • exists Notes Illustrator's graphic styles can be accessed from scripting, but cannot be created. You cannot delete default graphic styles. Example 19.1 -- Duplicate and group the selected path items, then apply -- a user-selected graphic style to the items in the new group tell application "Illustrator CS" to ¬ set selectedItems to selection of document 1 12 Aug 03