Trying to get the DOM / COM Object Model of Adobe After Effects in Python, so I can manipulate / script various parts of the application. This is possible, on other Adobe applications, as demonstrated here: (https://github.com/lohriialo/photoshop-scripting-python, https://github.com/lohriialo/indesign-scripting-python).
After looking in COM Object Viewers, I still have not worked out After Effects COM ID.
Thus ideally would be able to load, the DOM, with code similar to this:
import win32com.client
app = win32com.client.Dispatch('XX')
Where XX would be something like AfterEffects.Application,
Thank you so much everyone for helping, the library I'm putting together once this troubling problem is solved; can be found here: https://github.com/samholt/after-effects-scripting-python
Best,
Sam
After few days of research I wrote and shared a script on GitHib which can offer you other perspectives.
https://github.com/kingofthebongo/AE_PyJsx
That's not exactly what you/we are looking for. But it's a way to avoid the problem and use python to manage After Effects. While awaiting a better solution with COM Object Model ID.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With