Skip to main content
migueld83371718
Inspiring
June 14, 2019
Answered

Animate is not recieving vulcan messages from After Effects

  • June 14, 2019
  • 1 reply
  • 646 views

Hi, I am trying to communicate two extensions, through vulcan messages, one in Animate and another in After Effects. Messages sent from Animate are received by After Effects, but Animate is not receiving the After Effects messages. This is the code:

//Code in After effects extenssion

var message = new VulcanMessage(VulcanInterface.TYPE_PREFIX + 'com.KT.helloAnimate');

message.setPayload('Hello from after effects');

VulcanInterface.dispatchMessage(message)

//Code in Animate extension

VulcanInterface.addMessageListener( VulcanInterface.TYPE_PREFIX + 'com.KT.helloAnimate', function(message){

     console.log(VulcanInterface.getPayload(message))

});

I'm working with CEP 9.  I have created two new blank extensions to verify that the error is not in other parts of the code, but the behavior is the same, Animate still does not receive the messages. It is possible that it has something to do with this problem that I had the other day, and I think that for some reason, after effects is not dispatching nor the vulcan messages nor the csevents.  Other method from vulcan interfacelike launchApp are working on After extensions. ¿I'm missing something?

This topic has been closed for replies.
Correct answer Ten A

Probably, You need to change "VulcanInterface.TYPE_PREFIX" to "VulcanMessage.TYPE_PREFIX".

1 reply

Ten A
Community Expert
Ten ACommunity ExpertCorrect answer
Community Expert
June 15, 2019

Probably, You need to change "VulcanInterface.TYPE_PREFIX" to "VulcanMessage.TYPE_PREFIX".