Nathaniel Kelso created a couple of really handy scripts to fit text boxes to their content. This might seem like a really basic problem, but these problems are usually the most annoying. There is a script for a text box’s Depth and a script for the text box’s Width. If you work with a bunch of typography in Illustrator I’m sure they will come in handy. Thanks to John Wundes for pointing it out. Download the script here (you need to scroll down a little ).