Adobe 26001360 - Illustrator CS - PC Manual page 117

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

Adobe Illustrator CS Scripting Guide
Valid Commands
• count
• delete
• duplicate
• exists
• move
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
• rotate
• scale
• transform
• translate
12 Aug 03
117

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents