You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Dock is at the bottom, macOS doesn't put windows behind it when they're resized.
But for some reason macOS does put windows behind the Dock when it's on the left or right.
It would be nice if the workflow detected the Dock position, and that auto hide is off, and position/resize windows accordingly. In my case my resolution is 1680x1050, and my Dock is 80 pixels wide and on the left. So the usable window space is 1600x1050.
Here is the AppleScript I found for getting the Dock size and preferences.
tellapplication"System Events"totellprocess"Dock"get size inlist1end telltellapplication"System Events"get autohide of dock preferences
get screen edge of dock preferences
end tell
The text was updated successfully, but these errors were encountered:
Yes I know that macOS calculates windows position differently if the doc k is on the side. I will try to figure this thing out and implement it, but I doubt that there is a reliable solution to detect main screen when multiple screens are connected.
When the Dock is at the bottom, macOS doesn't put windows behind it when they're resized.
But for some reason macOS does put windows behind the Dock when it's on the left or right.
It would be nice if the workflow detected the Dock position, and that auto hide is off, and position/resize windows accordingly. In my case my resolution is 1680x1050, and my Dock is 80 pixels wide and on the left. So the usable window space is 1600x1050.
Here is the AppleScript I found for getting the Dock size and preferences.
The text was updated successfully, but these errors were encountered: