A Great Script Lets You Add Measurements in InDesign or Illustrator
My editor-in-chief and I both had the same reaction when we saw the Dimensions script for InDesign or Illustrator.
“I think of all the hours [it] would’ve saved me back in the day making spec guides for textbook designers to follow,” Mike wrote excitedly.
His excitement was deserved. As I started looking at the link to the script, I flashed back to my own projects. I thought about the various templates, cheat sheets, magazine rate cards, and documents that I’ve made over the years, projects that would have screamed for this script.
Put another way, Dimensions will scratch a big itch if you find yourself measuring dimensions of objects and communicating these measurements to others. Sending dimensions of book covers to a designer? Guidelines for designing ads for a newspaper? Instructions for submitting artwork for postcard formats to a commercial printer?
Whether you’re using InDesign or Illustrator, this script, by William Campbell of Mars Premedia, a seasoned prepress tech and programmer in Portland, Oregon, is exactly what you will need if you’re doing any sort of combination of measuring something on your page and putting those measurements on a label in your document.
Honestly, Dimensions is one of those scripts that’s just plain cool enough that you’re going to want to draw random boxes and then run the script to measure them. (It’s safe to admit that here. You’re among kindred spirits.)
And best of all? It’s all free at marspremedia.com/software, though Campbell gratefully accepts the donations.
Easy to use, wide range of options
The script is easy to use: Select an object on your page. When you run the script, it will bring up a dialog that will let you configure the details. Though the settings are thorough and a little intimidating, you can run the script and get an immediate understanding of how it works.
Click OK, and bam! Dimension lines, arrows, and text with the actual measurement—calculated automatically—will magically appear around the selected object. Here is where you can see the attention to design details: The objects come in grouped and on their own layer, and the script will add its own paragraph style so you can globally change the look of the numbers and units.
You can customize everything: thickness of the rules, style of the arrowheads, distance of the dimensions from the object you’re measuring, whether your object’s stroke is part of the distance calculations, what to do when the object is rotated. (Do you measure it and then rotate the measurements, or do you measure how it’s rotated?)
If you’re working at scale, Dimensions can take that into account, too.
If you screw something up, undo works beautifully. That seems like an obvious thing to expect, but sometimes with scripts, you find yourself having to manually undo every single change your script automated for you. And once you find the settings you like, you can save the configuration for later use. It’s clear that Campbell has invested significant time and attention into making Dimensions usable as well as functional.
Precision and time
“Like most of my scripts, it was a user’s specific request,” Campbell says of Dimensions. A back-and-forth with his client over a few months led to more customization and features and ultimately the release of versions for both InDesign and Illustrator.
Mars Premedia offers a comprehensive range of prepress, production, color correction, proofing, file cleanup, and web development services, and the scripts that Campbell writes also come from this context.
“Most scripts are to solve recurring problems with files I have to make right,” he says, echoing a lament I’ve heard over the years from many a prepress technician.
If you work in this environment, you can check out all his scripts—for InDesign, Illustrator, and Photoshop—at marspremedia.com/software/. He also has some nicely crafted YouTube videos demonstrating their use.
I was curious about what moves him to write upwards of 50 scripts and release them to the world.
“It’s that I hate wasted time, mine or others,” he says. “And I cringe at errors. We all make them, but I sure like to avoid them if possible. Scripts not only save time, they make me more consistent, and help avoid errors. That’s a big part of why I make them. For me and others.”