Folder
FolderItem
¶
Bases: Item
The FolderItem object corresponds to a folder in your Project panel. It
can contain various types of items (footage, compositions, solids) as well
as other folders.
Example
See: https://ae-scripting.docsforadobe.dev/item/folderitem/
Attributes¶
guides
¶
The item's ruler guides. Each guide has an orientation and a pixel position. Read-only.
id
¶
id = ChunkField[int](
"_idta", "item_id", read_only=True, default=0
)
The item unique identifier. Read-only.
items
¶
The items in this folder. Contains only the top-level items in the folder. Read-only.
label
¶
label = enum(Label, '_idta', 'label', default=NONE)
The label color. Colors are represented by their number (0 for None, or 1 to 16 for one of the preset colors in the Labels preferences). Read / Write.
name
¶
name = ChunkField[str](
"_name_utf8", "contents", transform=strip_null
)
The name of the item, as shown in the Project panel. Read / Write.
num_items
¶
num_items: int
Return the number of items in the folder.
Note
Equivalent to len(folder.items)
parent_folder
¶
parent_folder: FolderItem | None
The parent folder of this item. None for the root folder.
Read-only.