4 Replies Latest reply on Jan 13, 2016 9:29 AM by CarlosCanto

    PlugPlugExternalObject not available in Illustrator CC (2013) v17 ?

    jolg42

      Hi,

       

      We have some users on the 2013 CC version, so I was doing the compatibility for this version with our extension and I have a big problem.

       

      The events system is not available, in more recent versions I'm using "PlugPlugExternalObject" :

       

      function sendEvent(type, data) {

         try {

         var xLib = new ExternalObject("lib:\PlugPlugExternalObject");
         } catch (e) {

         alert(e);
         }

       

         if (xLib) {

         var eventObj = new CSXSEvent();
         eventObj.type = type;
         eventObj.data = data;
         eventObj.dispatch();
         }

      }

       

      But in CC 17.0.0 or after updating to 17.1.0 I have the same error :  "IOError: File or folder does not exist" so I tried everything available, like trying to pass the PlugPlugExternalObject from an archive found on the forums as a framework / dll.

       

      So if anyone know how to emit an event from jsx to the js in this version that will be great !!