Highlighted

Repeated resizing or repeated transform actions

Engaged ,
Apr 19, 2020

Copy link to clipboard

Copied

In InDesign, if I have many images having different heights, and I want their height to be same, let's say 75 mm. I just change the height of one, then choose the option of Object>Transform sequence again individually. This does the job flawlessly.


How can I do this in Illustrator?

Adobe Community Professional
Correct answer by Ton Frederiks | Adobe Community Professional

Maybe this looks more like what you want:

This script proportionally resizes all selected objects according to the height of the lowest selected object.

http://illustrator.hilfdirselbst.ch/dokuwiki/en/skripte/javascript/height_proportional

Topics

Draw and design, How to, Performance, Tools

Views

784

Likes

Translate

Translate

Report

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

Repeated resizing or repeated transform actions

Engaged ,
Apr 19, 2020

Copy link to clipboard

Copied

In InDesign, if I have many images having different heights, and I want their height to be same, let's say 75 mm. I just change the height of one, then choose the option of Object>Transform sequence again individually. This does the job flawlessly.


How can I do this in Illustrator?

Adobe Community Professional
Correct answer by Ton Frederiks | Adobe Community Professional

Maybe this looks more like what you want:

This script proportionally resizes all selected objects according to the height of the lowest selected object.

http://illustrator.hilfdirselbst.ch/dokuwiki/en/skripte/javascript/height_proportional

Topics

Draw and design, How to, Performance, Tools

Views

785

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 19, 2020 0
Adobe Community Professional ,
Apr 19, 2020

Copy link to clipboard

Copied

In the Transform panel, enter the Height of one image and press Return.

Select the next image and choose Object > Transform > Transform again (Cmd or Ctrl D)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Engaged ,
Apr 19, 2020

Copy link to clipboard

Copied

This method doesn't work. The other images is resized randomly after Ctrl+D as well as after choosing the command from the drop down menu. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Adobe Community Professional ,
Apr 19, 2020

Copy link to clipboard

Copied

Yes, I tried it with images that were the same size, but what this method is doing, it adds the same amount to the other images, so it will not work with images that have a different size.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Adobe Community Professional ,
Apr 19, 2020

Copy link to clipboard

Copied

If you plan to define the resizing in percents (e.g. 90%) instead of  the linear units, width or height or both, you can select all the needed objects and choose Object > Transform > Transform Each (Shift + Alt/Opt + Ctrl/Cmd + D)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Engaged ,
Apr 19, 2020

Copy link to clipboard

Copied

Yeah I wish all the objects were equally sized initially and I could use percentages. They aren't. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Most Valuable Participant ,
Apr 19, 2020

Copy link to clipboard

Copied

arjun,

 

I believe you will really enjoy setAllTheThings in this set of free JohnWundes scripts,

 

http://www.wundes.com/JS4AI/

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Engaged ,
Apr 19, 2020

Copy link to clipboard

Copied

I should have mentioned it in the original post. If I mention only the height in the plugin box, my images are squished disproportionately. They have the same height indeed but the aspect ratio disappears. I'm surprised by the Adobe team of developers. They included this simple resize feature in InDesign and not in Illustrator. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Most Valuable Participant ,
Apr 19, 2020

Copy link to clipboard

Copied

arjun,

 

The JohnWundes setAllTheThings script lets you select the desired values of both W and H (or either (which may be appropriate in other cases) by removing the other one in the first option box), then it gives all paths the same values of both.

 

If you only know the desired new height to start with, you can start by scaling (or otherwise changing) the first object in the way that gives you to have both height and width for the script.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Adobe Community Professional ,
Apr 19, 2020

Copy link to clipboard

Copied

Maybe this looks more like what you want:

This script proportionally resizes all selected objects according to the height of the lowest selected object.

http://illustrator.hilfdirselbst.ch/dokuwiki/en/skripte/javascript/height_proportional

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Engaged ,
Apr 19, 2020

Copy link to clipboard

Copied

Thank you so much! This script works flawlessly like magic! I think I should request a feature in Illustrator for basic proportional resizing of objects like Adobe has in their InDesign. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2020 0
Adobe Community Professional ,
Apr 20, 2020

Copy link to clipboard

Copied

Glad to hear that helped.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 20, 2020 1