Adobe 26001360 Scripting Guide - Page 226
symbol item, Valid Commands, Example 67.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 226 highlights
226 AppleScript Reference symbol item, symbol items A symbol item is an instance of a symbol in a document. symbol items are linked to the symbol from which they are created and will change with any modification of that symbol. Note: This object class inherits all valid properties from the page item class. Table 4.92 symbol item, symbol items - Properties Property properties symbol R/O Value type record symbol What it is All of the symbol item's properties returned in a single record (properties which are individually read-only remain so in this record). The symbol that was used to create this symbol item Valid Commands • count • delete • duplicate • exists • move • rotate • scale • transform • translate Example 67.1 -- Symbol Items --- Make a new document -- Add 10 symbol items to the document tell application "Illustrator CS" activate make new document repeat with i from 1 to 10 round (i / 2 - (round (i / 2) rounding down)) rounding up make new symbol item in document 1 with properties {symbol:symbol i of document 1, position:{100 + (the result * 150), (50 + i * 70)}} end repeat end tell 12 Aug 03