Thanks for coming to InDesignSecrets.com, the world's #1 resource for all things InDesign!

Stray Points Got You Down? Here’s a Script To Fix It.

Every now and again I’ll attempt to scale something in InDesign and get the following error:

Descriptive enough, but is it really giving you enough information?

Most of the time I’ve found it happening after pasting an object in from Illustrator but it’s just as likely to occur when scaling any native object drawn in InDesign.

That error can really lead you on a wild goose chase because the real problem here has nothing to do with the stroke weight. As pointed out by Dave Saunders in the User to User forums the cause is usually a stray single path point in the selection. These can wind up on your page by clicking once with the pen tool or deleting objects using the direct selection tool and leaving a single point behind. Why they cause this error, I don’t know. But does anyone want to guess what Dave did?

That’s right…he wrote a script to find and delete them. He was kind enough to post it in the User to User forums and we’ve made it available here as well. You can download it by clicking here.

Related Articles
Comments

2 Comments on “Stray Points Got You Down? Here’s a Script To Fix It.

  1. Great post! What I’ve been doing until this script is Ctrl+A to select everything and then shift+clicking all visible items and pressing delete to get rid of whatever unwanted stuff is around.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>