Adobe CS COM Interface

Hi guys,

Here is my problem :

I’m developing a standalone save system using python + qt which saves the current document and archive a copy of it. It works well for Maya, Nuke, Photoshop and Illustrator. But Flash and AfterFx are giving me hard time !

Maya, Nuke were quite easy using a python socket which runs in background listen orders from my save system.
Photoshop and Illustrator are coming with a nice COM interface, so its a piece of cake using win32com.client.

But AfterFX :scared:

I tried using ExtendScript (javascript version of Adobe) socket, but it doesn’t provide threading possibilites so i can’t have a background behavior…
I spend some time looking for an hypothetical COM interface but came back empty handed. And no way to find a list of CS Software coming with a COM interface and those who don’t.
Why Photoshop has one and not AE ? Flash I can understand, they bought it few years ago, but PS & AE have been developed by Adobe for at least 15 years.
Anyway I have to find a workaround :laugh:

I didn’t dug much on Flash.

What are my other options ?
C++ plugin or Vbscript ?

Thx for your insights :slight_smile:

(sorry for my english !)

I have a similar problem trying to script Adobe Media Encoder which also lacks a scripting interface. I’m resorting to using sendkeys functionality to send input to the UI. This is really cumbersome since the interface has to be the application with focus. I’m using pinvoke from a C# app to do this, and wrapping that with Maya’s python and python.net.

See:


http://msdn.microsoft.com/en-us/library/ms171548.aspx
http://msdn.microsoft.com/en-us/library/ms633499(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx

There may be a cleaner way of doing this, but I haven’t found it.

Thx for the tip. I hope I won’t have to go that way :slight_smile:
I’ll keep looking and keep you posted.