I want to know how to use the 'bridge to talk. "

var bt = new BridgeTalk;      BT. Target = "photoshop."      var myScript = WIN.toString ();      BT. Body = myScript;      BT. Send();    function WIN() {var isDone, win, windowResource, isDone = false; windowResource = "palette {------orientation:"column,"------alignChildren: ['fill', 'top'],------preferredSize: 300 (130) and text------: ' ScriptUI window - palette',------margins: 15, frameLocation------: [1200,-10],-} ' win = new Window (windowResource); win.show (); app.bringToFront ()}

JJMack

//New Bridgetalk
var bt = new BridgeTalk();
//Target application
bt.target = "bridge";
//Script to execute on target application
bt.body = /*script to execute*/;
//Results  if anything is to be returned
bt.onResult = function( inBT ) { result = eval( inBT.body ); }
//If anything goes wrong, error message
bt.onError = function( inBT ) {alert(inBT.body); }
//Send the command with a timeout in seconds
bt.send(8); 

Tags: Photoshop

Similar Questions

Maybe you are looking for