Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

BridgeTalk in indesign Server

$
0
0

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


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>