- Source:
[app description]
Members
(static) version :number
- Source:
The After Effects version
Type:
- number
Methods
(static) ensureSecurityPrefEnabled()
- Source:
Checks security pref setting, prompting user to enable it if not Throws an error if user declines prompt
(static) getAEP() → {File}
- Source:
Gets current AEP file object
Returns:
File object of current AEP
- Type
- File
(static) getAEPDir() → {Folder|null}
- Source:
Gets folder containing current AEP, or null if AEP is not saved
Returns:
Parent directory of current AEP
- Type
- Folder | null
(static) getAEPName() → {string|null}
- Source:
Gets filename of current AEP, or null if AEP is not saved
Returns:
Filename of current AEP
- Type
- string | null
(static) getPresetsPaths() → {Array.<string>}
- Source:
Gets array of both default preset folder paths One in the user directory, one in the AE install directory
Returns:
Array of preset folder paths
- Type
- Array.<string>
(static) getScriptFile() → {File}
- Source:
Gets current script file object
Returns:
File object of current script
- Type
- File
(static) getUserDataFolder() → {Folder}
- Source:
Gets user data folder; In Windows: the value of %USERDATA% (by default, C:\Documents and Settings\username\Application Data) In Mac OS: ~/Library/Application Support
Returns:
User data folder
- Type
- Folder
(static) open(filePath) → {File}
- Source:
Opens an AEP
Parameters:
Name | Type | Description |
---|---|---|
filePath |
File | string | AEP path or file object to open |
Returns:
Newly-opened AEP
- Type
- File
(static) securityPrefEnabled() → {boolean}
- Source:
Checks whether AE security pref is enabled
Returns:
Security pref status
- Type
- boolean