Adobe 12040118 - After Effects Standard Using Manual page 32

Using help
Hide thumbs Also See for 12040118 - After Effects Standard:
Table of Contents

Advertisement

Help
Using Help
Type
Boolean; read-only.
Application language attribute
app.language
Description
The language attribute indicates in which language After Effects is running. The codes for the language
attribute are as follows:
Language.ENGLISH
Language.FRENCH
Language.GERMAN
Language.JAPANESE
Type
Language enumerated type (listed above).
Example
var lang = app.language;
if (lang == Language.JAPANESE){
ale r t("Afte r E ffe ct s is r u n n in g in Ja pa n e se . " )};
el se if (l ang == L a n g u a g e .E NG LI SH ){
ale r t("Afte r E ffe ct s is r u n n in g in E n g lish . " )};
el se if (l ang == L a n g u a g e .FR E NC H ){
aler t("After Effects is r unning in French.")};
e l s e {
aler t("After Effects is r unning in Ger man.")
};
Application newProject() method
app. n e w Pro j e c t ( )
Description
The newProject method opens a new project in After Effects, replicating the File > New > New Project menu
command. If a project is already open and has been edited, the user will be prompted to save.
Use app.project.close(CloseOptions.DO_NOT_SAVE_CHANGES) to close an open project before opening
a new one.
Parameters
None.
Returns
Project object; null if the user cancels a Save dialog in response to having an open project that has been edited
since the last save.
Using Help
Reference
Back
32
Back
32

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents