Adobe 12040118 Using Help - Page 31
Application exitCode attribute, Application isProfessionalVersion attribute
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 31 highlights
Help Using Help Reference Back 31 Application exitCode attribute app.exitCode Description The exitCode attribute is used only when executing a script from outside After Effects (i.e., from a command line or AppleScript). On Mac OS and Windows, the exitCode is set to 0 (EXIT_SUCCESS) at the beginning of each script evaluation. In the event of an error while the script is running, it will be set to a positive integer. Type Integer; read/write. Example app.exitCode = 2; //on quit, if value is 2, no error has occurred Application isProfessionalVersion attribute a p p . i s P r o f e s s i o n a l Ve r s i o n Description The isProfessionalVersion attribute is a boolean used to determine if the locally installed After Effects application is the Standard or Professional version. Type Boolean; read-only. Example var PB = app.isProductionBundle; alert("It is " + PB + " that you are running the Production Bundle."); Application isRenderEngine attribute app.isRenderEngine Description The isRenderEngine attribute is a boolean used to determine if an installation of After Effects is a Render Engine only installation. Type Boolean; read-only. Application isWatchFolder attribute a p p . i s Wa t c h F o l d e r Description The isWatchFolder attribute is a boolean used to determine if the Watch Folder dialog is currently displayed (and the application is currently watching a folder for rendering). This returns true when the Watch Folder dialog is open. Using Help Back 31