I'm trying to move and resize a window to the upper right of my screen, while the dock is anchored to the right side. Every way I try this, the window aligns to the right screen edge, under the dock, instead of aligning to the dock edge. I've read a number of older posts, but am not sure what I'm doing wrong. my macro is:
(note the variables were just to see that KM is noting a difference between SCREEN and SCREENVISIBLE).
I've also tried Peter's suggestion of x; SCREENVISIBLE(main,Right)-SCREENVISIBLE(main,Width)*25%, which I got from this thread:
How Do I resize a Window on My External Monitor?
but the results were the same. Am I missing something?