Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How do I resize multiple shapes to the same dimensions?

Participant ,
May 17, 2022 May 17, 2022

I have a bunch of sponsor names I need to size to exactly 11"W x 1.75"H each. Transform Each won't work for me because it is a percentage scale, not WxH. I seem to recall there even used to be a panel for this sort of thing--and it looked a lot like the Transform panel--but I can't find it anywhere.

 

Aside from sizing them one-by-one, what is the quickest way to do this?

TOPICS
Tools
433
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
May 17, 2022 May 17, 2022

You could try the SetAllTheThings script:

https://github.com/johnwun/js4ai/blob/master/setAllTheThings.jsx

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 17, 2022 May 17, 2022

This seems like it would be great, except I really have no idea how to use a script like that in Illustrator. That looks like a lot of code just to size a few objects lol.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 17, 2022 May 17, 2022
LATEST

Get the raw text:

https://raw.githubusercontent.com/johnwun/js4ai/master/setAllTheThings.jsx

Right-click and Save As a .jsx file.

Either save to the scripts folder: Adobe Illustrator 2022\Presets\en_GB\Scripts to access via File > Scripts

Or wherever you like (access via File > Scripts > Other script)

Selecting the script from the menu will run it.

 

It's a lot of code because it can set many different parameters, not just size. It's a very useful script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 17, 2022 May 17, 2022

I found the panel I was talking about. It's contextual and only shows up when you select a bunch of rectangles. But it doesn't look like the same thing will work with outlined text. Unfortunate. 😕

 

Any other ideas?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines