Documents created by any of the iWork applications, Pages, Numbers, or Keynote, can incorporate a common set of elements, including images, shapes, lines, tables, charts, movies, and audio clips. To AppleScript and the built-in scripting support of the iWork applications, these elements are considered iWork Items, and share a common set of properties, detailed in the iWork Item class from the iWork Suite:
The iWork Suite iWork item Class
iWork item n [inh. iWork item ] : An item which supports formatting.
elements
contained by slides, document.
properties
height ( integer ) : The height of the iWork item.
locked ( boolean ) : Whether the object is locked.
parent ( iWork container r/o ) : The iWork container containing this iWork item.
position ( point ) : The horizontal and vertical coordinates of the top left point of the iWork item.
width ( integer ) : The width of the iWork item.
responds to
delete, exists
The properties in the iWork item class can be accessed and changed for any of the common iWork elements. For example, a script can get or set the position of a movie, or image, or shape, or any of the common elements.