I use Moom for my window management needs on macOS. It’s very useful to quickly arrange windows, resize them, and so on…
If you want to find the dimensions of a window so you can resize another one to the same, simply open Moom preferences and choose the Resize option:
So useful! I didn’t know this was possible, and didn’t find anything in the Moom FAQs either.
Previously I had emailed their support and Rob gave me the following helpful script:
1 2 3 4 5 |
tell application "System Events" set AppOfInterest to "Safari" set windowXY to size of the first window of application process AppOfInterest display notification "" & (item 1 of windowXY) & " x " & (item 2 of windowXY) with title "Frontmost window of " & AppOfInterest & ":" end tell |
For this script to work Script Editor needs Accessibility access.