I simply want to resize my objects but sometimes I accidentally leave the "scale corners" option unchecked therefore rounded corners don't scale proportionally along with the rest of the object. Is there a way to force the scaling of corners with .resize somehow or some other way?
I'm already using this but it ignores scaling corners if the user option is accidentally left disabled:
CarlosCanto • Adobe Community Professional, Dec 28, 2020
// get/set Scale Corners
// carlos canto - 12/28/2020
// save original state
var scaleCorners = app.preferences.getIntegerPreference ("policyForPreservingCorners");
// check Scale Corners
app.preferences.setIntegerPreference ("policyForPreservingCorners",1); // 1-checked, 2-unchecked
// DO YOUR THING
// Reset Original Scale Corners Settings
I found the "setIntegerPreference" method in the extendscript documentation but I was wondering where to find the information on the argument you provided for it. I can't find any list of information that contains the info like the "policyForPreservingCorners". How did you know that was the correct code?