Delete - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

Adobe Illustrator CS Scripting Guide
tell application "Illustrator CS"
activate
cut
end tell

delete

Removes an element from an object.
Table 4.116 delete — Parameters
Parameters
object reference or
list (of object
references)
Example 85.1
-- This script deletes the second layer in the document
tell application "Illustrator CS"
if (count layers of document 1) > 1 then
delete layer 2 of document 1
end if
end tell
What it is
Object(s) to delete
12 Aug 03
Objects supported
• compound path
item
• gradient
• gradient stop
• group item
• layer
• mesh item
• page item
• point
• pattern
• placed item
• plugin item
• raster item
• spot
• swatch
• tag
• text
• text frame
• text path
255
Returns
nothing

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents