I was asked on Twitter if I could throw together a small script to resize a text selection by a defined amount of points.

If you have a text selection with various sizes of text, you can't quickly resize it by a few points, without resizing all text to the same point size. This script allows you to resize the text selection, and handles the different sized text in the selection.

The dialog box that opens when activating the script.

The dialog box that opens when activating the script

The script supports both positive and negative values, so you can both decrease and increase the sizes.

The script

The JavaScript can be downloaded here: resize_selected_text.jsx.

You can add it to your Scripts palette and run it from there. To do that, place the file inside the "~/Library/Preferences/Adobe InDesign/Version 6.0/Scripts/Scripts Panel" folder.

Note that depending on the length of your document, the script might take a while to run.

Comments

Nifty script! Only downside is it takes multiple "undo's" to get you back to the original size if you change your mind.

S Mishra wrote:

I need a script which will change the ligatures off in all the styles.

Silkjaer wrote:

S Mishra: How many styles do you have? Sounds like you have too many if it is to big a job to turn them off manually.

Write a comment!