Resize App Windows With AppleScript
Last updated
Was this helpful?
Last updated
Was this helpful?
I showed in a how we can run AppleScript commands inline from the terminal. Here is an inline command for positioning and resizing your iTerm2 window.
The first two values tell the command the x
and y
coordinates of where to position the upper left corner of the window relative to the upper left corner of your screen. The next two values are the width
and height
that the window should be resized to.