Keyboard Maestro and JSX

Hi @JimmyHartington,

So, after a few weeks, here is my first experiment.

I regularly have to reduce a frame and its content to an exact size in InDesign documents. To do that, I have to type an exact dimension with its unit in the Percent Scale fields. I also have to select the correct Reference Point and the X or Y coordinates. When I have to repeat this operation on multiple frames, it quickly becomes boring. Especially that, sometimes, I need to type the dimensions in millimeters, other times in points, depending of the ruler unit.

This is why I wanted to use an HTML Prompt and Keyboard Maestro variables within InDesign.

The HTML Prompt is also an experiment. It almost exclusively uses SVG and jQuery:

Then, using the Keyboard Maestro variables, a JSX file is written and executed by InDesign as you suggested.

Here is the macro:

Scale Object in InDesign.kmmacros (35.3 KB)

I provide it as is.

I'm looking forward for your comments.

2 Likes