save()

Saves the project. The same as the File > Save or File > Save As command. If the project has never previously been saved and no file is specified, prompts t

removeUnusedFootage()

Removes unused footage from the project. Same as the File > Remove Unused Footage command.None.Integer; the total number of FootageItem objects removed.

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

item()

Retrieves an item at a specified index position.index The index position of the item, an integer. The first item is at index 1.Item object.

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

importFileWithDialog()

Shows an Import File dialog box. Same as the File > Import > File command.Array of Item objects created during import; or null if the user cancels the dialo

importFile()

Imports the file specified in the specified ImportOptions object, using the specified options. Same as the File > Import File command. Creates and returns a

consolidateFootage()

Consolidates all footage in the project. Same as the File > Consolidate All Footage command.None.Integer; the total number of footage items removed.

close()

Closes the project with the option of saving changes automatically, prompting the user to save changes or closing without saving changes.closeOptions Action

autoFixExpressions()

Automatically replaces text found in broken expressions in the project, if the new text causes the expression to evaluate without errors.oldText The text to