The type of object for which the imported file is to be the source. Before setting, use canImportAs to check that a given file can be imported as the source
Tag Archives: File
importPlaceholder()
Creates and returns a new PlaceholderItem object and adds it to the projectメs items array. Same as the File > Import > Placeholder command.name A string con
newProject()
Creates a new project in After Effects, replicating the File > New > New Project menu command.If the current project has been edited, the user is prompted t
FileSource object
The FileSource object describes footage that comes from a file.ユ FileSource is a subclass of FootageSource. All methods and attributes of FootageSource, in
sequence
When true, a sequence is imported; otherwise, an individual file is imported.Boolean; read/write.
reduceProject()
Removes all items from the project except those specified. Same as the File > Reduce Project command.array _ o f _ i te m s An array containing the Item obj
open()
Opens a project.file Optional. An ExtendScript File object for the project file to open. If not supplied, the method prompts the user to select a project fi
file
The ExtendScript File object for the footage’s source file.If theFootageItem’smainSource is a FileSource, this is the same as FootageItem.mainSource.file.Ot
includeSourceXMP
When true, writes all source footage XMP metadata to the output file. Corresponds to the Include Source XMP Metadata option in the Output Module Settings di
removeUnusedFootage()
Removes unused footage from the project. Same as the File > Remove Unused Footage command.None.Integer; the total number of FootageItem objects removed.