Site logo

Reworking a CEP panel into a script for the InDesign server

Here are my thoughts aloud regarding while reworking a CEP panel into a script for the InDesign server:

There’s no way to interact with controls in panels in InDesign by script: for instance, you cannot select/deselect the links in the ‘Links’ panel. It’s also impossible to click the ‘Insert’ button in the C3 panel as you wanted so I tried to imitate this behavior programmatically.

There are two sides of a CEP extension: the host (InDesign app) and the client. (the web application built-in into InDesign)

The host side is more or less clear to me. I found out that the code is partially hidden because the following two files are in binary format: