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
Tag Archives: File
onError
The name of a callback function that is called when an error occurs. By creating a function and assigning it to this attribute, you can respond to errors sy
reload()
Reloads the asset from the file. This method can be called only on a mainSource, not a proxySource.None.Nothing.
importAs
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
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