Events of Photoshop not pulling after update of December 2015 CC

Hello

I have an extension that modifies the user interface whenever the active layer is changed.

This is done by registering in the event of change of layer using CSInterface and then listening to the reminder. (using csInterface.addEventListener ("PhotoshopCallback", function() {})

However, well worked with both Photoshop CC 2014 and 2015 CC version beginning, but after the recall of update of the month of December is not called anymore.

What could be the problem? What else should I look to debug the issue?

(I learned that PhotoshopCallback is deprecated in favour of com.adobe.PhotoshopJSONCallback in CC 2015, but I guess it should always work until the next version)

Thank you

Found the problem! When you create the object CSEvent to register for an event, we set the ID of the event for the csEvent.data parameter.

So far, I had put in the ID as a number, and it worked in all previous versions.

Now, I have to define as a string method (using the. toString()) and it works fine.

Tags: Photoshop

Similar Questions

Maybe you are looking for