How to integrate JavaScript into InDesign.


Check the MIME Type

Log in to the censhare Admin Client and check the MIME Type, see below.

JavaScript as resource

Create an asset of type JavaScript with below setting:

Setting 1:

Type: Module/Script/Adobe InDesign script


Setting 2:
Flag settings:

Key: Any name

  • Target asset filter: Define the asset type, asset id or asset name.
  • Event: Define at which event you want the script to be executed.