Adobe 65009963 Scripting Manual page 24

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
Application exitCode attribute
a pp .e xi t C o d e
Description
A numeric status code used when executing a script externally (that is, from a command line or AppleScript).
In Windows, the value is returned on the command line when After Effects was launched on the commands
line (using the
or
af te rf x
in Mac OS, the value is returned as the AppleScript
In both Mac OS and Windows, the value is set to 0 (
ation. In the event of an error while the script is running, the script can set this to a positive integer that
indicates what error occurred.
Type
Integer; read/write.
Example
a pp . e xi t C o d e = 2 ; / / o n qui t , i f v alue is 2, an er ror h as occurr ed
Application isRenderEngine attribute
a p p . i s R e n d e r E n g i n e
Description
True if After Effects is running as a render engine.
Type
Boolean; read-only.
Application isWatchFolder attribute
a pp .i s W at c h F o l d e r
Description
True if the Watch Folder dialog box is currently displayed and the application is currently watching a folder
for rendering.
Type
Boolean; read-only.
Application language attribute
a pp .l a n g ua g e
Description
The language After Effects is running.
Type
A
enumerated value; read-only. One of:
L a n gu ag e
command), and a script was specified with the
a f t er f x – m
D oS cr ip t
E X I T _ S U C C E S S
Application object
or
– r
result for each script.
) at the beginning of each script evalu-
24
option.
– s
24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents