Add option to change stroke/font units faster
For my workflow I constantly need to change the unit of strokes between points and inches. It would be nice to add a way to change them in 1 click rather than going Edit > Preferences > Units every single time. Not a huge change but would be quite convenient and probably fairly easy to implement. We can currently set the unit of the whole document in a window, but not things like stroke/font. Could just add the option to the existing stroke window like the attached picture.
-
Oliver, you can switch units using 2 custom JS scripts, wrapped in an action, one per unit.
Put this into a .jsx file for inches:
app.preferences.setIntegerPreference("strokeUnits", 0);
and this one for points:
app.preferences.setIntegerPreference("strokeUnits", 2);This is a workaround, sure, but an effective one.
Please try it and comment back.As for the mockup you propose — it is rather confusing. I understand the intention behind it, but it looks like Ai is going to handle unites separately, and not combined with a values, which is not cool at at all — no math, no live conversion, a step back. And as a solution it’s not much faster than the current method — 2 clicks compared to 5 clicks we have today (plus some aiming).