Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Python and After Effects Scripting on Windows

$
0
0

So I recently stumbled across this:

 

GitHub - lohriialo/photoshop-scripting-python: Scripting in Photoshop is used to automate a wide variety of repetitive t…

 

As well as this here (somebody else has tried the same thing for AE, but it seems they were unsuccessful):

 

python - Adobe After Effects COM Object Model ID? - Stack Overflow

 

So it looks like you can actually do scripting for Photoshop in Python.  I tried one of the sample scripts and it worked perfectly.

 

However, I would also like to be able to do this for After Effects.  Unfortunately, it seems that nobody knows what the "com id" is that would go in the place of "Photoshop" in the following:

 

from win32com.client import Dispatch

app = Dispatch("Photoshop.Application")

 

I've tried all sorts of things in place of "Photoshop", like "Ae," After Effects," After_Effects," etc, but none of them seem to work.  Does anybody know how I can start scripting for After Effects in Python the way it was done in Photoshop?

 

For reference, I am using After Effects CC 2014.


Viewing all articles
Browse latest Browse all 2143

Trending Articles