Skip to main content
Participant
July 10, 2015
Question

BridgeTalk in indesign Server

  • July 10, 2015
  • 0 replies
  • 318 views

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");

This topic has been closed for replies.