/t5/bridge-discussions/calling-bridge-script-from-external-app-using-jscript/td-p/1144111Jan 24, 2006
Jan 24, 2006
Copy link to clipboard
Copied
Is it possible to call a bridge script from an external app (e.g. iView?). If so, how. I presume I need to instantiate the Bridge app object, but I can't get my head around how to do this from an external Jscript.
/t5/bridge-discussions/calling-bridge-script-from-external-app-using-jscript/m-p/1144113#M24006Jan 26, 2006
Jan 26, 2006
Copy link to clipboard
Copied
I have no idea if this woudl work but if you have jsx files set to open the ESTK (or Photoshop or Bridge) could you not just execute the jsx from the command line. In fact could you not create a custom extension eg jsxexe (since I tend to want js and jsx files to open into my editor) and have that assigned to the target app - any of Bridge, estk, Photoshop.
/t5/bridge-discussions/calling-bridge-script-from-external-app-using-jscript/m-p/1144114#M24008Jan 26, 2006
Jan 26, 2006
Copy link to clipboard
Copied
Conceptually you should be able to do that. That's one of the uses of the #target directive.
I haven't spent any time on it, really.
I do know that when I double click a JSX file, I get it open for editing in the ESTK (least on Mac), hence I think the command line might force the issue. But I really don't haven't done any experimenting.
I would think jsexe should be do-able.
Regardless, you still need to execute something from the command line.