Copy link to clipboard
Copied
I need a script that will do two moves in one.
First, Fit Content To Frame (which is already built into InDesign, granted).
Then, Constrain Scale Proportionately based on the largest dimension.
The below video demonstrates what I need manually (paying special attention to the manual copy-paste of the larger number in the scale field, in order to even out the scale to correct the ‘stretching’ after Fitting Content To Frame).
As always any feedback is greatly appreciated.
Cheers.
I did some digging and cobbled together the below that works great.
Thanks especially to Mikie9 .
var sel = app.selection;
for (var i=sel.length-1; i>=0; i--) {
sel.fit(FitOptions.FILL_PROPORTIONALLY);
}
Copy link to clipboard
Copied
My workflow today involved the above and led me back to here.
No takers on this one?
Copy link to clipboard
Copied
I did some digging and cobbled together the below that works great.
Thanks especially to Mikie9 .
var sel = app.selection;
for (var i=sel.length-1; i>=0; i--) {
sel.fit(FitOptions.FILL_PROPORTIONALLY);
}