13 Replies Latest reply: May 20, 2010 4:17 AM by dheeraj_c RSS

    Callback when a layer/effect is deleted or when undo/redo is performed.

    dheeraj_c Community Member

      Hi,

           I need to get callback when I delete an effect or layer. Also I need to know when undo or redo is performed. Are there any methods for which I can register?

       

      I checked this thread : http://forums.adobe.com/message/2809657#2809657

       

      It's mentioned that AEGP_RegisterCommandHook() has to be used and we need to monitor the AEGP_Command received. When an effect is deleted I'm receiving a command. Do I need to hard code and check for this command? Is there any other way of checking for the AEGP_Command?

       

      Thanks,

      Dheeraj.