Constrain Proportions button toggle
app.preferences.setBooleanPreference('linkTransform',1);
makes the Constrain Width and Height Proportions button to toggle... but only internally, the button does not change.
16
votes

-
Oleg Krasnov commented
Blinking the control panel doesn't help
app.preferences.setBooleanPreference('linkTransform',
!app.preferences.getBooleanPreference('linkTransform'));
app.executeMenuCommand('drover control palette plugin');
app.executeMenuCommand('drover control palette plugin');