77
JavaScript Reference
Item object
77
}
}
}
}
Item comment attribute
a p p . p r o j e c t . i t e m
( i nd e x ) .
c o m m e n t
Description
A string that holds a comment, up to 15,999 bytes in length after any encoding conversion. The comment is
for the user's purpose only; it has no effect on the item's appearance or behavior.
Type
String; read/write.
Item id attribute
a p p . p r o j e c t . i t e m
( i nd e x ) .
i d
Description
A unique and persistent identification number used internally to identify an item between sessions. The value
of the ID remains the same when the project is saved to a file and later reloaded. However, when you import
this project into another project, new IDs are assigned to all items in the imported project. The ID is not
displayed anywhere in the user interface.
Type
Integer; read-only.
Item name attribute
a p p . p r o j e c t . i t e m ( i n d e x ) . n a m e
Description
The name of the item as displayed in the Project panel.
Type
String; read/write.
Item parentFolder attribute
a p p . p r o j e c t . i t e m
( i nd e x ) .
p a r e n t F o ld e r
Description
The FolderItem object for the folder that contains this item. If this item is at the top level of the project, this
is the project's root folder (
a p p . p r o j e c t . r o o t F o l d e r
). You can use the ItemCollection’s
a d d F o l d e r
method to
add a new folder, and set this value to put items in the new folder. See “ItemCollection addFolder() method”
on page 79.
Summary of Contents for 65009963 - After Effects CS4
Page 1: ...SCRIPTING GUIDE...