I'm trying to hack together an applescript that will resize a window on my main display, and move the window to a set position on another display. I have been trying to work with the "bounds" attribute, but the window won't seem to go to the right size. Essentially what I need to do is find if there is an attribute for the dimensions of a window. "bounds" seems to be tied to where the window is compared to the edge of the screen.
Essentially, I want to do this:
Get the size of window x
Make window y the size of window x
Move window x to position z on display b
Move window y to position w on display b
thanks in advance for your help.
Essentially, I want to do this:
Get the size of window x
Make window y the size of window x
Move window x to position z on display b
Move window y to position w on display b
thanks in advance for your help.