Adobe 26001360 Scripting Guide - Page 270
move, Table 4.138, move - Parameters
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 270 highlights
270 AppleScript Reference move Moves one or more objects to a new location; returns references to the moved object or objects at the new location. Table 4.138 move - Parameters Parameters What it is Objects supported object reference or list (of object references) to location reference Object(s) to move Specifies new location of the object • compound path item • group item • layer • mesh item • page item • path item • placed item • plugin item • raster item • text frame Returns object reference or list (of object references) Notes Objects cannot be moved between documents. Example 98.1 -- This script moves all objects in a document to the first layer tell application "Illustrator CS" set allPageItems to every page item of document 1 move allPageItems to beginning of layer 1 of document 1 end tell Example 98.2 -- This script moves the bottommost layer to after the first layer tell application "Illustrator CS" tell document 1 to move last layer to after first layer end tell 12 Aug 03