1 Reply Latest reply on Sep 18, 2015 12:06 PM by Max Johnson - PlayStudios

    Can I connect to generator from a panel?


      I would like to connect to generator from my HTML5 panel. I see that panels use a different instance of node than generator - one packaged in CEPHtml Helper I think.

      Can I create a connection from my panel to generator and get data back and forth?


      Specifically I would like to be able to use the kevlar actions available to generator ( sendDocumentInfoToNetworkClient etc.)

      I have tried running the actions described in this page Photoshop Kevlar API Additions for Generator · adobe-photoshop/generator-core Wiki · GitHub within my panel and extedscript toolkit but they error with the ubiquitous "General Photoshop Error".





        • 1. Re: Can I connect to generator from a panel?
          Max Johnson - PlayStudios Level 1

          Same problem here. I can't run from their example. I get this error: "General Photoshop error occured. This functionality may not be available in this version of Photoshop."


          Can't even get a basic call without optional flags running.


          var idNS = stringIDToTypeID( "sendDocumentInfoToNetworkClient" );

          var desc1 = new ActionDescriptor();

          executeAction( idNS, desc1, DialogModes.NO );