I use this way to get Dock height (if Dock is at the bottom). But how can I get Dock width?
I found only one solution using Accessibility, but it requires disabling sandbox. But I cannot disable sandbox for the app in the App Store. So for now, I have no clue how to get the current Dock width.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: