Resizing Windows to a Specific Size on macOS - Scott's Weblog - The weblog of an IT pro focusing on cloud computing, Kubernetes, Linux, containers, and networking
Today I learned you can use AppleScript to resize windows to a specific size. Simpler than I imagined if you can figure out what the positional params map to.
tell application "Firefox Nightly"
set bounds of front window to {110, 120, 1310, 1020}
end tell
Responses
See how to respond...
Respond via email
If you'd prefer to message me directly, send an email. If you'd also like your message to be visible on the site I can add it as a comment.
Reply via Email
Respond from another site
Responses are collected from posts on other sites. Have you posted somewhere that links to this page? If so, share the link!