Point Editor

InDesign's drawing tools are pretty good, but handling Bézier curves can be fiddly. The point editor decribed here can make life a bit easier. In addition you can copy the...

This script is part of the Interface collection. See the full collection here

Use this script to create a dialog box to work with InDesign’s Bézier curves more easily and precisely.

InDesign’s Bézier curves work well but can be a handful to handle. For instance, you can’t select a handle and move it to a particular location: it’s a mouse-only operation. And it’s not always easy to see where the handles are.

To inspect a path point’s properties and change them precisely, run the script linked below. It shows the following interface:

A path point with two handles

Using the direct-selection tool (with no insertion point selected, type A), select a point and click the Refresh button. (The script doesn’t use an event listener so it doesn’t detect a change of selection.)

The top panel shows the coordinates of the points (second row), the first and third rows show the locations of the handles. The screenshot shows a selected point with two handles. If you see just one handle, the other handle is on the point:

A path point with one handle

The values in the second and third rows are the same. In this case the outgoing handle is on the point. And when you convert a point to a plain one you don’t see any handles at all, both are on the point.

The eight buttons in the ‘Convert point’ and ‘Path’ panels correspond to the items in InDesign’s Object > Paths and Object > Convert Point menus. I put them here because they’re buried in InDesign’s interface. The script simply calls InDesign’s functions, so clicking the buttons in the script’s interface has exactly the same effect as choosing those functions in InDesign’s interface. (I now use a start-up script that places those eight functions in a new menu in the top-level.)

The three print buttons show the properties of the selected point or the whole path. This is useful if you want to place a path with a script: draw the path in InDesign, let the script print the path, and copy the code to the script.


Version history

April 2024: First posted (though it’s an old script).

Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by CreativePro.com


Scripts by Topic | Script Index
Basic Script Installation and Use
How to Modify or Configure These Scripts
Resources for Scripting and Publishing Automation
About This Repository


Repository Home Page


Contact Peter Kahrel


Note to users: You run scripts at your own risk: CreativePro and the author accept no liability for anything that may be caused by any of these scripts. Always take the necessary precautions. We encourage you to save backups and test scripts on copies of your documents.

Bookmark
Please login to bookmark Close

This article was last modified on August 22, 2026

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading comments...