111
JavaScript Reference
Project object
111
Project bitsPerChannel attribute
a p p . p r o j e c t . b i t s P e r C h a n n e l
Description
The color depth of the current project, either 8, 16, or 32 bits.
Type
Integer (8, 16, or 32 only); read/write.
Project close() method
a p p . p r o j e c t . c l o s e (
c l o s e O p t i o n s
)
Description
Closes the project with the option of saving changes automatically, prompting the user to save changes or
closing without saving changes.
Parameters
Returns
Boolean. True on success. False if the file has not been previously saved, the user is prompted, and the user
cancels the save.
Project consolidateFootage() method
a p p . p r o j e c t . c o n s o l i d a t e F o o t a g e ( )
Description
Consolidates all footage in the project. Same as the File > Consolidate All Footage command.
Parameters
None.
Returns
Integer; the total number of footage items removed.
Project displayStartFrame attribute
a p p . p r o j e c t . d i s p l a y S t a r t F r a m e
c l o s e O p t i o n s
Action to be performed on close. A
C l o s e O p t i o n s
enumerated value, one of:
C l o s e O p t i o n s . D O _ N O T _ S A V E _ C H A N G E S
: Close without saving.
C l o s e O p t i o n s . P R O M P T _ T O _S A V E _ C H A N G E S
: Prompt for whether to save
changes before close.
C l o s e O p t i o n s . S A V E _ C H A N G E S
: Save automatically on close.
Summary of Contents for 65009963 - After Effects CS4
Page 1: ...SCRIPTING GUIDE...