docs » cp.adobe.aftereffects
Adobe After Effects Extension
- Constants - Useful values which cannot be changed
- preferences
- Functions - API calls offered directly by the extension
- allowScriptsToWriteFilesAndAccessNetwork
- preferencesFilePath
- preferencesPath
- refreshPreferences
- shortcutsPreferences
- shortcutsPreferencesPath
Signature | cp.adobe.aftereffects.preferences <cp.app.prefs> |
---|---|
Type | Constant |
Description | The cp.app.prefs for After Effects. |
Signature | cp.adobe.aftereffects:allowScriptsToWriteFilesAndAccessNetwork() -> boolean |
---|---|
Type | Function |
Description | Is "Allow Scripts to Write Files and Access Network" enabled in After Effects Preferences? |
Parameters |
|
Returns |
|
Signature | cp.adobe.aftereffects:preferencesFilePath() -> string |
---|---|
Type | Function |
Description | The path to the main Preferences file. |
Parameters |
|
Returns |
|
| Signature | cp.adobe.aftereffects:preferencesPath() -> string | nil
|
| -----------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| Type | Function |
| Description | The path to After Effects Preferences folder. |
| Parameters |
- None
- A string or
nil
if no path can be found.
Signature | cp.adobe.aftereffects:refreshPreferences() -> none |
---|---|
Type | Function |
Description | If After Effects is running, this forces the preferences file to be saved to disk. |
Parameters |
|
Returns |
|
Signature | cp.adobe.aftereffects:shortcutsPreferences() -> table |
---|---|
Type | Function |
Description | Gets a table of all the active After Effects keyboard shortcuts. |
Parameters |
|
Returns |
|
Signature | cp.adobe.aftereffects:shortcutsPreferencesPath() -> string |
---|---|
Type | Function |
Description | Gets the active shortcut key preferences file path. |
Parameters |
|
Returns |
|