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

how can i execute .jsx file without using Extenedscript Toolkit?

Guest
Apr 13, 2011 Apr 13, 2011

I just want to know how can i execute the function  in .jsx file , not using Extenedscript Toolkit or not in the Indesign..

can i run the script with other applications or web pages ?

TOPICS
Scripting
6.4K
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
LEGEND ,
Apr 13, 2011 Apr 13, 2011

Sure, you can use Photoshop!

I think you are very confused.

.jsx files implement ExtendScript, an extension of JavaScript that is only available in Adobe products like the Creative Suite and the ExtendScript Toolkit (ESTK). Most such scripts directly access the object model associated with one of those applications, so while theoretically you could run them in another application, in practice you cannot.

I guess the short answer you're looking for is No. But tell us more about what you want to do, please. I suppose you could use VBScript or COM+ or whatever from your other Javascript environment to tell InDesign to execute ExtendScript.

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
Guest
Apr 14, 2011 Apr 14, 2011

thank you for your answer..

If your answer is no...i have to change my plan..just play the script in [Indesign]

(i thought automatically run the script for making output file from templete file with data files..in the Java Application)

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
LEGEND ,
Apr 14, 2011 Apr 14, 2011

Java has very little to do with JavaScript.

What OS?

It probably possible for you to trigger InDesign to run your .jsx file from an external application, if that is your goal.

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 Expert ,
Apr 14, 2011 Apr 14, 2011

sprin9 wrote:

[...] (i thought automatically run the script for making output file from templete file with data files..in the Java Application)

It's not Javascript that works with InDesign files, it's InDesign-the-application. A script can only hand over its commands to InDesign (and so this needs to be running). Don't confuse between a scripting language and its environment.

Also, do not make the mistake of confusing Java with Javascript. They are two very distinct different programming languages. "Abbreviating" Javascript to just "Java" is wrong, just as abbreviating "InDesign" to just "in" would be.

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
Participant ,
Aug 22, 2012 Aug 22, 2012

Hi,

               How to run .jsx file through core java?

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
LEGEND ,
Aug 22, 2012 Aug 22, 2012

Cenchen, your question does not really make sense.

Java is not Javascript.

What do you mean by "core java"?

Can you please give us a clear example so we can understand your question?

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
Participant ,
Aug 22, 2012 Aug 22, 2012

How to call .jsx(Adobe javascript) file through java?

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 ,
Aug 22, 2012 Aug 22, 2012
LATEST
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