I have a feeling I know the answer, but I just can't remember...
I know that one can position a window to a specified location:
view layout/offset [...] 100x100
I know that a program can find the screen size of the monitor with system/view/screen-face/size.
What I want to do is to find out where a window currently is located, in case the operator dragged it around on the screen. If I can find that, then I can save it when the program quits, and load it when the program starts again, so that I can view the window in the same position where it was the last time the program ran. Something like:
NEW-POSITION: load %last-window-position.txt
view layout/offset [...] NEW-POSITION
Thank you.