Skip to main content
vijaychandran
Participant
January 11, 2019
Answered

how to call InDesign jsx from html page?

  • January 11, 2019
  • 1 reply
  • 583 views

Hi,

How to call InDesign jsx from html page (from browser)? Please let me know if you know the answer.

Regards,

Vijay

This topic has been closed for replies.
Correct answer Trevor:

If you want to call the jsx from a browser like Chrome you can't do that.

If you want to call it from the apps html panel you can either use csInterface.evalScript

I created http://creative-scripts.com/jsx-js/ as an easier interface for calling jsx scripts.

The linked page provides a lot of examples that apply to both csInterface.evalScript and jsx.evalScript so take a good look there.

1 reply

Trevor:
Trevor:Correct answer
Legend
January 11, 2019

If you want to call the jsx from a browser like Chrome you can't do that.

If you want to call it from the apps html panel you can either use csInterface.evalScript

I created http://creative-scripts.com/jsx-js/ as an easier interface for calling jsx scripts.

The linked page provides a lot of examples that apply to both csInterface.evalScript and jsx.evalScript so take a good look there.