Adobe 26001360 Scripting Guide - Page 117
Valid Commands, Notes, Example 18.1, Note that it is not necessary to set the type of
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 117 highlights
Adobe Illustrator CS Scripting Guide 117 Valid Commands • count • delete • duplicate • exists • move • rotate • scale • transform • translate Notes Note that it is not necessary to set the type of the content variable before binding. Illustrator automatically sets the type to graph. Example 18.1 -- Graph Items --- Activate Illustrator -- Make sure a document is available -- Get every page item whose class is graph item -- For each graph item, rotate it 90 degrees -- tell application "Illustrator CS" activate if not (exists document 1) then error "There is no available document." set graphItems to every page item of document 1 whose class is graph item if graphItems is {} then error "The document does not contain any graph items." repeat with currentGraphItem in graphItems rotate currentGraphItem angle 90 end repeat end tell 12 Aug 03