Skip to main content
Participant
October 1, 2021
Answered

simple script for resizing a selected image

  • October 1, 2021
  • 2 replies
  • 2125 views

hi everyone,

trying to find a faster way to proportionally resize the width of a selected image placed in a frame (the frame has specific dimensions, cannot use fit content etc). 

 

in my case: the frames have a 39mm width (height doesn't matter, it's relative). when i'm placing the image inside the frame, the image must have a 35mm width (with height proportionally resized).

 

i have to resize every placed image manually and i have thousands. it would really be a time saver for me to do this automatically by using a script. (i have macro keys on my keyboard/mouse so i can assign any shortcut to run this script).

This topic has been closed for replies.
Correct answer Eugene Tyson

You can use Object Styles and assign a keyboard shortcut.

 

https://helpx.adobe.com/indesign/using/object-styles.html

 

 

2 replies

Community Expert
October 1, 2021

Eugene TysonCommunity ExpertCorrect answer
Community Expert
October 1, 2021

You can use Object Styles and assign a keyboard shortcut.

 

https://helpx.adobe.com/indesign/using/object-styles.html

 

 

Participant
October 1, 2021

thank you, i tried and it does not work with anchored frames (my frames are anchored inline with text frames).

i'm attaching a screenshot.

Community Expert
October 1, 2021

What do you mean it doesn't work? 

What way doesn't it work? 

 

I just tried with an Anchored Image and it works fine in terms of size and scaling.

 

Can you elabaorate?