Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

calling bridge script from external app using Jscript

New Here ,
Jan 24, 2006 Jan 24, 2006
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.

regards

Gareth
TOPICS
Scripting
521
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 26, 2006 Jan 26, 2006
Gareth,

I've never tried this, but there is a way...

launch the ESTK from a command line, or system call, whatever the external app supports.

The following command line options for the ESTK *should* do the trick:

-run [filename]

This should launch the ESTK without a UI, and execute the file. The file will need to have a target directive (#target bridge).

Let me know if this works for you.

Bob
Adobe Workflow Scripting
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 26, 2006 Jan 26, 2006
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.

Andrew
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 26, 2006 Jan 26, 2006
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.

Bob
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 26, 2006 Jan 26, 2006
LATEST
That's what I get for changing thots in the middle of the sentence...

You'd think with English as my only language I, like, might be able to speak or write it....

Sheesh...

Bob
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines