I am working on a macro that will launch an application and resize/reposition the window.
Sometimes I will be working on my MacBook Pro with the 2800x1800 (or whatever) screen, and sometimes I’ll be on my desktop monitor with a 1920x1280 screen. I need to compute the window HEIGHT and position as a ratio of the current screen size (but the WIDTH should be left alone).
I read some about the SCREEN function and got it to work a bit, but where I am stuck is the fact that I don’t want to change the window width. Is there a resize action that leaves the width alone, or some way to specify “leave alone” in the resize action?