Copy link to clipboard
Copied
I got it working. Once I was reminded that Keyboard Maestro can not only move a mouse and click, but it can click and drag, I went with a Keyboard Maestro macro. Below is the macro that will make my usual Small setting Medium. I'll also create a toggle to go from Medium to Small UI Scaling if that's the current state, restarting InDesign between. (The second AppleScript InDesign activation is just for testing.)
Copy link to clipboard
Copied
You can always execute JS script from within AS.
Copy link to clipboard
Copied
I was thinking about that, too. Do you know A) if there's a way to control the UI Sizing via JavaScript, and B) how to do it? (And, C, could you please tell me?)
Copy link to clipboard
Copied
I was trying to find it on my phone - but no luck. Will have to do it on a laptop - will let you know if I'll find it.
Copy link to clipboard
Copied
I don't see anything relevant in the AppleScript dictionary...
Copy link to clipboard
Copied
I even tried programmically editing the preferences file on disk, but I can't find the setting for the UI scaling in there.
Copy link to clipboard
Copied
There is no difference in the preferences:
tell application id "com.adobe.indesign"
get properties of preferences
end tell
Looking from the plug-in side, the command is kSetUIScalingPrefsCmdBoss working on "InDesign Defaults".
As you have to restart InDesign anyway for "changes to take effect", I'd try the brutal approach and swap that file with differently scaled copies.
Copy link to clipboard
Copied
I got it working. Once I was reminded that Keyboard Maestro can not only move a mouse and click, but it can click and drag, I went with a Keyboard Maestro macro. Below is the macro that will make my usual Small setting Medium. I'll also create a toggle to go from Medium to Small UI Scaling if that's the current state, restarting InDesign between. (The second AppleScript InDesign activation is just for testing.)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now