Python to JSX bridge for Adobe After Effects.
Initialize the AE wrapper
aeApp = AE_JSInterface()
Or, use specific parameters.
aeApp = AE_JSInterface(aeVersion, returnFolder)
# Read https://en.wikipedia.org/wiki/Adobe_After_Effects to get correct version number
Next use existing functions
aeApp.jsOpenScene("PATH/TO/AEPROJECT.aep")
print aeApp.jsGetActiveDocument()
Or add yours based on existings
After Effects needs to be launched before you can use the functions. You can run AE from your script thanks to
aeApp.openAE()
But you have to wait that After Effects is fully loaded before use the other functions.
This script is attempting to compensate the unfilled blank about the After Effects COM & DOM. Please share your researches if you find the way to handle After Effects with Python like Photoshop.
- Stackoverflow Adobe After Effects COM Object Model ID?
- Adobe Forum Python and After Effects Scripting on Windows
- GitHub samholt/after-effects-scripting-python
- GitHub lohriialo/photoshop-scripting-python
- Thibaud CARPENTIER - AE Adaptation - kingofthebongo
Based on Peter Hanshaw work for Photoshop: Use Python to use JavaScript to get Photoshop to do stuff.