0 Replies Latest reply on Jul 10, 2015 1:30 PM by ks55282947

    BridgeTalk in indesign Server

    ks55282947

      I'm using InDesign Server for CS6 (x64). I'm using bridgetalk for the first time on my local machine. I am trying to understand why I'm getting the error "ERROR: Target Could Not Be Launched". Does this mean my bridge isn't working? Or does the syntax appear wrong for the following example code:

       

      function infoFrombr() {

         var bt = new BridgeTalk;

         bt.target = "bridge";

         bt.body = "app.document.presentationPath;"

         bt.onResult = function(resObj) {

            var myResult = resObj.body;

            $.writeln( "BridgeTalk result = " + myResult );

            doSomethingNow( myResult );

         }

        

         bt.onError = function( inBT ) { doSomethingNow( inBT.body, null ); };

         $.writeln("doing it");

         bt.send( 50 );

      }

       

       

      function doSomethingNow( result ) {

            $.writeln("doing it");

            $.writeln(result);

      }

       

      $.writeln("test");

      infoFrombr();

      $.writeln("test_end");