Skip to main content
Participant
August 18, 2016
Question

Events?

  • August 18, 2016
  • 1 reply
  • 983 views

Is it possible to register a callback for any events in After Effects? If so is there a reference somewhere with these events?

If not, perhaps there is another way to approach my problem? What I want to do is perform an action before export/save. My extension processes things in the composition and then stores them in the XMP metadata in a processed form. Only problem is you have to do this by opening my extensions panel and pressing a button. It all works fine but its possible to forget to press the button before you export, thus leading to old metadata being exported which isn't a great user experience.

Thanks,

Andrew.

This topic has been closed for replies.

1 reply

Legend
August 18, 2016

I haven't messed with XMP or extensions much, but there is an events section of the JavaScript Tools Guide CC pdf for event callbacks and listeners. Might help? It's on pg. 80 of that pdf. The download is on this web page last under the "Scripting Guides and Changes" section.

After Effects Developer Center | Adobe Developer Connection

andr3wm4cAuthor
Participant
August 23, 2016

Yeah, I've read that section and understand how to use events but I can't seem to find any kind of list or references for events that are available to subscribe to in After Effects. I've found a list of events for Photoshop, but can't locate any for After Effects. I'm getting the impression there aren't any After Effects specific events.

Legend
August 24, 2016

Ah, if you are looking for events specific to After Effects and ExtendScript, then no. Events and listeners are ScriptUI bound, and only work within a ExtendScript panel or window. The only way might be through the SDK and creating a plugin as bridge maybe. Soaristocrat seems to have attempted to make one with limited success in the 2010 post. No feedback since though it seems.

2010:

Does After Effects dispatches events my scripts can listen to?

2014:

a listener script for ae like the one for photoshop

CEP Application Events

2016:

Sadly still the same