Skip to main content
Known Participant
November 27, 2018
Answered

Changing size of multiple objects while keeping proportions

  • November 27, 2018
  • 2 replies
  • 5983 views

I have searched the forums for an answer to my problem and have come across an answer that Monika Gause referred to here: How to make objects equal size , which nearly helps but I wonder whether I am doing something wrong.

Basically I have a list of names that I have typed out in different fonts. I have expanded them all (as I will align them all later). I am now wanting to make each name all the same length (width) but keep the proportions. I then would use align to make them all line up under each other and be equally spaced out. As I wish to keep the font style, I need to change the width of each selection but enlarge it proportionally so the heights may vary.

Wunder's script, though truly brilliant, just seems to make the selections the same width or same height but it doesn't seem to change the proportions too.

The heights stay the same as originally.

Do you know if there is any way that I could do this too please?

I know I could do this individually using the measurement options on the top bar or just manually scaling them all (before or after expanding) but but I have hundreds of names to change.

Many thanks!

Jill

This topic has been closed for replies.
Correct answer CarlosCanto

Jill, is this what you're looking for?

https://aiscripts.com/illustrator-text-block/

2 replies

Known Participant
December 3, 2018

Hello all,

Thanks so much for all your comments and suggestions. Though the suggestion by Carlos is indeed truly great, it doesn't quite do what I needed. I can show exacly why, with pictures to illustrate.

Should I continue on this page to give more details or should I take it to the Scripting Forum?

Thanks!

Jill

Jacob Bugge
Inspiring
December 3, 2018

Jill,

You may both continue here and ask there; I believe Carlos will see it either place, and he asked you whether it was what you were looking for.

Known Participant
December 3, 2018

Hello all

Thanks Jacob - just wasn't sure about the protocol with the forums. Plus I feel so demanding (embarrassed face emoji).

So - here goes. Both of the scripts that I have tried are brilliant however they don't quite do what I am looking for:

1. Wunder's script makes the selections the same width or same height but it doesn't seem to change the proportions of the type too. This can mean that some of the texts could look a little stretched - see my example with the name 'James Ellison' 

2. Carlos's script does change the proportions really well, but when I used it, it seemed to change the running order of the names and also gives you an expanded version of the texts, so that one loses the font styles and the text is no longer identifiable through the font (or character style) nor does it remain editable.

I appreciate that I am not able to carry out any of this clever stuff but if anyone feels that they could help, it would be amazing! Thanks.

Jacob Bugge
Inspiring
November 27, 2018

Jill,

You may:

1) Select each and in the Transform palette set the desired W(idth), then pressing Ctrl/Cmd+Enter (or just Enter if you have locked to keep proportions);

2) Select all, click one name to stay, then in the Align palette use the relevant among (vertical) Distribute Objects or Distribute Spacing (the latter to have the same distance/gap between the names, the former to have their baselines at the same distances);

3) If needed Select all and click one name to stay again, and then in the Align palette use the Align>Horizontal Align Left.

Known Participant
November 27, 2018

Hi Jacob,

Thanks for your answer. However, does this mean that I have to select each 'object' separately and set the desired width in the Transform palette?

Do you know if there's a way that I can select them all and transform in one go, so each individually has the same width?

I am looking for a way to 'batch transform' over a hundred names ....

The align part I have mastered - it's the size changing while kepeing proportions that I am finding difficult.

Many thanks,

Jill

Jacob Bugge
Inspiring
November 27, 2018

Jill,

You may try to ask in the scripting forum, or hope that Carlos or Theunis sees this.

Illustrator Scripting